aboutsummaryrefslogtreecommitdiffstats
path: root/rspamd.service
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-01-30 12:12:33 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-01-30 12:12:33 +0200
commit1d69b3bd759847cdcf4022a923dac6430431f9e6 (patch)
tree9bc0035427e7618cb1c4bf99eb8dbe49cf7d9f36 /rspamd.service
parenta58c7c5f7c19470a166da55e07ea8f292dab0d4d (diff)
downloadrspamd-1d69b3bd759847cdcf4022a923dac6430431f9e6.tar.gz
rspamd-1d69b3bd759847cdcf4022a923dac6430431f9e6.zip
[Minor] Support reload in systemd service file
Diffstat (limited to 'rspamd.service')
-rw-r--r--rspamd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/rspamd.service b/rspamd.service
index 75cc5485c..b5dce69dc 100644
--- a/rspamd.service
+++ b/rspamd.service
@@ -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