mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-13 23:56:50 +02:00
15 lines
428 B
Desktop File
15 lines
428 B
Desktop File
[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
|