Anarchist666 12 tahun lalu
induk
melakukan
c6fba05d03
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  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/