diff options
author | Cameron Norman <CameronNemo@users.noreply.github.com> | 2014-07-23 15:33:42 -0700 |
---|---|---|
committer | Cameron Norman <CameronNemo@users.noreply.github.com> | 2014-07-23 15:33:42 -0700 |
commit | 736bff824e6a0b64a60f7d76cf191e588c359af3 (patch) | |
tree | b32f962f633e26f8c4ae171bbab5b5fa18f05f14 /debian | |
parent | 379055dbbb4af997b4d3ffb161d447872d7ca357 (diff) | |
download | rspamd-736bff824e6a0b64a60f7d76cf191e588c359af3.tar.gz rspamd-736bff824e6a0b64a60f7d76cf191e588c359af3.zip |
Add Upstart job to debian packaging
This will automatically be shipped by dh_installinit.
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 |