mirror of
https://github.com/bjango/istatserverlinux.git
synced 2025-10-22 07:28:08 +00:00
Added boot script examples
This commit is contained in:
16
resource/upstart/istatserver.conf
Normal file
16
resource/upstart/istatserver.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
# istatserver
|
||||
|
||||
description "istatserver daemon"
|
||||
author "Bjango"
|
||||
|
||||
start on (local-filesystems and net-device-up IFACE!=lo)
|
||||
stop on shutdown
|
||||
|
||||
expect daemon
|
||||
expect fork
|
||||
respawn
|
||||
respawn limit 99 5
|
||||
|
||||
script
|
||||
exec /usr/local/bin/istatserver -d
|
||||
end script
|
Reference in New Issue
Block a user