| 1 | [Unit] |
| 2 | Description=rapid spam filtering system |
| 3 | After=nss-lookup.target network-online.target |
| 4 | Documentation=https://rspamd.com/doc/ |
| 5 | |
| 6 | [Service] |
| 7 | LimitNOFILE=1048576 |
| 8 | NonBlocking=true |
| 9 | ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f |
| 10 | ExecReload=/bin/kill -HUP $MAINPID |
| 11 | User=_rspamd |
| 12 | RuntimeDirectory=rspamd |
| 13 | RuntimeDirectoryMode=0755 |
| 14 | Restart=always |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |