浏览代码

More fixes

Anarchist666 12 年之前
父节点
当前提交
c6fba05d03
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/tutorials/daemonizing.rst
  2. 1 1
      extra/systemd/celery.service

+ 1 - 1
docs/tutorials/daemonizing.rst

@@ -322,7 +322,7 @@ Service file: celery.service
 :Usage: `systemctl {start|stop|restart|status} celery.service`
 :Configuration file: /etc/conf.d/celery
 
-To create a temporary folder for the log and pid files change user and group in 
+To create a temporary folders for the log and pid files change user and group in 
 /usr/lib/tmpfiles.d/celery.conf.
 Setting WorkingDirectory in /usr/lib/systemd/system/celery.service defines chdir.
 

+ 1 - 1
extra/systemd/celery.service

@@ -4,7 +4,7 @@ After=network.target
 
 [Service]
 Type=forking
-User=anarchist
+User=user
 Group=users
 EnvironmentFile=-/etc/conf.d/celery
 WorkingDirectory=/opt/Myproject/