]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Support reload in systemd service file 1384/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 30 Jan 2017 10:12:33 +0000 (12:12 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 30 Jan 2017 10:12:33 +0000 (12:12 +0200)
rspamd.service

index 75cc5485c4380bbffe6f804c43d10c13c11aa706..b5dce69dcf0153ec59438c2cb1a828609a3137b5 100644 (file)
@@ -6,6 +6,7 @@ After=nss-lookup.target
 LimitNOFILE=1048576
 NonBlocking=true
 ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
+ExecReload=/bin/kill -HUP $MAINPID
 User=_rspamd
 RuntimeDirectory=rspamd
 RuntimeDirectoryMode=0755