我在NAS上运行了,我设置了一个cron选项卡,它每隔几分钟运行一次脚本,以检查是否已启动该海员服务器,如果没有,它将启动它。
脚本如下所示:
#!/bin/bash
# exit if process is running
if ps aux | grep "[s]eafile" > /dev/null
then exit
else
# restart process
/home/simon/seafile/seafile-server-latest/seafile.sh start
/home/simon/seafile/seafile-server-latest/s
---------------------------------
Press ENTER to continue, or Ctrl-C to abort
---------------------------------
Generating ccnet configuration ...
Traceback (most recent call last):
File "setup-seafile-mysql.py", line 1471, in <module>
main()
File "setup-seafile-mysql.py&
docker不会重新启动我的容器,即使它列出了退出代码2是docker-compose ps。
Name Command State Ports
-----------------------------------------------------------------------------
app_autoheal_1 /docker-entrypoint autoheal Up (healthy)
我正在尝试在一个私有目录中编译selinux,如下所示:https://github.com/SELinuxProject/selinux 为了进行编译,我还编译了xmlto,并将它的bin-dir添加到$PATH中。 编译失败,并显示以下代码行。 xmlto man secilc.8.xml
xmlto: /opt/seafile/Sourcecode/selinux/secilc/secilc.8.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O