aboutsummaryrefslogtreecommitdiffstats
path: root/centos/sources/rspamd.service
blob: eec4cd9eaee454c56d4c9cf7584299c1ef161d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=rspamd
After=syslog.target network.target remote-fs.target nss-lookup.target

[Service]
Type=simple
PIDFile=/var/lib/rspamd/rspamd.pid
ExecStartPre=/usr/bin/rspamd -u rspamd -g rspamd -t
ExecStart=/usr/bin/rspamd -u rspamd -g rspamd -f
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID

[Install]
WantedBy=multi-user.target