diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2017-04-20 23:47:19 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2017-04-20 23:47:19 +0200 |
| commit | 48aa2dbb95cf4199caa8707dc7b6cec12c2d2a95 (patch) | |
| tree | c2dab4b1396e59906856b287c6ba85731a2c5ab7 /README.rst | |
| parent | 7b5b3205558717de474a2e77b8b3eea768a38f0e (diff) | |
| download | phinde-48aa2dbb95cf4199caa8707dc7b6cec12c2d2a95.tar.gz phinde-48aa2dbb95cf4199caa8707dc7b6cec12c2d2a95.zip | |
document systemd service setup
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -46,7 +46,28 @@ Dependencies ===== Setup ===== -This section is incomplete. +FIXME: This section is incomplete. + + +System service +============== +When using systemd, you can let it run multiple worker instances when +the system boots up: + +#. Copy files ``data/systemd/phinde*.service`` into ``/etc/systemd/system/`` +#. Adjust user and group names, and the work directories +#. Enable three worker processes:: + + $ systemctl daemon-reload + $ systemctl enable phinde@1 + $ systemctl enable phinde@2 + $ systemctl enable phinde@3 + $ systemctl enable phinde + $ systemctl start phinde +#. Now three workers are running. Restarting the ``phinde`` service also + restarts the workers. + + Cron job ======== |
