diff options
author | Saku Ytti <saku@ytti.fi> | 2015-03-13 12:37:52 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2015-03-13 12:37:52 +0200 |
commit | ec44d6ac0e20e60684e6901b3ed950d9b175803b (patch) | |
tree | c31bf2c8bd2bf6c52a306439d6630ea07ac27058 /extra/oxidized.upstart | |
parent | 875c839a49bc01cafb0bb5afd79916019a127e57 (diff) |
More examples
From issue #45
Diffstat (limited to 'extra/oxidized.upstart')
-rw-r--r-- | extra/oxidized.upstart | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/oxidized.upstart b/extra/oxidized.upstart new file mode 100644 index 0000000..26a0f83 --- /dev/null +++ b/extra/oxidized.upstart @@ -0,0 +1,18 @@ +# by @andrewpwade in issue #45 + +start on started networking + +respawn + +setuid oxidized +setgid oxidized + +chdir /home/oxidized + +env HOME=/home/oxidized + +pre-start script + test -x /usr/local/bin/oxidized || { stop; exit 0; } +end script + +exec /usr/local/bin/oxidized |