mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
poller service upstart conf working
This commit is contained in:
@@ -13,7 +13,7 @@ stop on runlevel [016]
|
||||
respawn
|
||||
|
||||
# Essentially lets upstart know the process will detach itself to the background
|
||||
expect fork
|
||||
#expect fork
|
||||
|
||||
# # Run before process
|
||||
# pre-start script
|
||||
@@ -21,8 +21,9 @@ expect fork
|
||||
# echo "Put bash code here"
|
||||
# end script
|
||||
|
||||
# Set working directory
|
||||
chdir /opt/librenms
|
||||
setuid librenms
|
||||
setgid librenms
|
||||
|
||||
# Start the process
|
||||
exec su -u librenms poller-service.py
|
||||
exec /opt/librenms/poller-service.py
|
||||
|
||||
Reference in New Issue
Block a user