mirror of https://github.com/rspamd/rspamd.git
Rapid spam filtering system
https://rspamd.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
428 B
14 lines
428 B
[Unit]
|
|
Description=rapid spam filtering system
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Replace Pre/Post with RuntimeDirectory once it is available
|
|
PermissionsStartOnly=true
|
|
ExecStartPre=/bin/mkdir -m700 -p /run/rspamd
|
|
ExecStartPre=/bin/chown _rspamd:_rspamd /run/rspamd
|
|
ExecStart=/usr/bin/rspamd -f -c /etc/rspamd/rspamd.conf
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
ExecStopPost=/bin/rm -r /run/rspamd
|
|
WorkingDirectory=/var/lib/rspamd
|
|
User=_rspamd
|