- # SCOM service
- description "SCOM Agent"
- author "Endre Karlson <endre.karlson@gmail.com>"
- start on (net-device-up
- and local-filesystems
- and runlevel [2345])
- stop on runlevel [016]
- #respawn
- env BIN=/opt/microsoft/scx/bin/scxcimserver
- env LD_LIBRARY_PATH=/opt/microsoft/scx/lib:/opt/microsoft/scx/lib/providers:/opt/microsoft/scx/lib/providers/ext
- umask 007
- pre-start script
- test -x $BIN || { stop; exit 0; }
- end script
- exec $BIN
- post-stop exec $BIN -s
SHARE
TWEET
root
a guest
Mar 15th, 2012
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

