diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-10 12:18:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-10 12:18:38 +0100 |
commit | de0bfb9948f07d3e44eebe61c25deaea5761fcc2 (patch) | |
tree | e9ea59b49f0ea69b55a6b7142feff7aa90836343 /debian | |
parent | 379332add6eb42a4a6d0616a091d0238a1ed0b6e (diff) | |
parent | 736bff824e6a0b64a60f7d76cf191e588c359af3 (diff) | |
download | rspamd-de0bfb9948f07d3e44eebe61c25deaea5761fcc2.tar.gz rspamd-de0bfb9948f07d3e44eebe61c25deaea5761fcc2.zip |
Merge pull request #84 from CameronNemo/patch-1
Add Upstart job to debian packaging
Diffstat (limited to 'debian')
-rw-r--r-- | debian/rspamd.upstart | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rspamd.upstart b/debian/rspamd.upstart new file mode 100644 index 000000000..1871d6997 --- /dev/null +++ b/debian/rspamd.upstart @@ -0,0 +1,8 @@ +description "rspamd - rapid spam filtering system" +author "Cameron Norman <camerontnorman@gmail.com>" + +start on filesystem +stop on runlevel [016] or unmounting-filesystem + +pre-start exec install -m 700 -o _rspamd -g _rspamd -d /run/rspamd +exec /usr/bin/rspamd -u _rspamd -g _rspamd -f -c /etc/rspamd/rspamd.conf |