Aspire

安装 supervisor

发布时间:4年前热度: 3953 ℃评论数:

安装 supervisor

apt-get install supervisor

配置守护

vi /etc/supervisor/conf.d/syncthing.conf

填入以下内容

[program:syncthing]

command = /bin/syncthing -no-browser -home="/root/.config/syncthing"

directory = /root

autorestart = True user = root environment = STNORESTART="1", HOME="/root"

重启进程

supervisorctl reload


启动

supervisorctl start syncthing

重启

supervisorctl restart syncthing

停止

supervisorctl stop syncthing


源码安装、技术讨论、二次开发等联系微信:

error

栏目导航

  1. PHP
  2. Go
  3. Mysql
  4. Linux
  5. 前端
  6. 杂谈

相关文章

  1. 增强bash命令 4362 ℃
  2. git 使用 ssh 4349 ℃
  3. 安装 supervisor 3953 ℃
  4. 性能常用命令 3936 ℃
  5. 文件权限 3618 ℃
  6. rsync 命令 3337 ℃
  7. centos文件共享 3269 ℃
  8. shell解析腾讯云 3238 ℃
  9. crontab使用 3230 ℃
  10. linux zip,tar命令 3155 ℃

手机扫码访问