diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/general.yml-example | 4 | ||||
-rw-r--r-- | conf/send-daemon.service.example | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example index 243d077f0..91507b03d 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -268,3 +268,7 @@ SIGNUPS_DISABLED: 0 FETCH_COMMENTS_PROCESSES_MIN: 0 FETCH_COMMENTS_PROCESSES_MAX: 0 FETCH_COMMENTS_PROCESS_TIMEOUT: 0 + +# If you use the daemon for sending reports, rather than the cron script, +# this is how many children it will have. +QUEUE_DAEMON_PROCESSES: 4 diff --git a/conf/send-daemon.service.example b/conf/send-daemon.service.example new file mode 100644 index 000000000..1314ada3c --- /dev/null +++ b/conf/send-daemon.service.example @@ -0,0 +1,17 @@ +# +# systemd service unit for FixMyStreet Report Sending Daemon +# +[Unit] +Description=FixMyStreet Report Sending Daemon +After=syslog.target network.target + +[Service] +Type=simple +ExecStart=/var/www/www.fixmystreet.com/fixmystreet/bin/send-daemon +User=fms +StandardOutput=journal +StandardError=journal +SyslogIdentifier=fms-send-daemon + +[Install] +WantedBy=multi-user.target |