Automatically running shell scripts using Upstart
Last response: in Linux/Free BSD
Related resources
- Use GP to prevent AD -defined logon scripts from running..? Forum
- More resources
!
# Dataserver Service Template description "Server" author "Me <my@email.com>" start on runlevel [2345] # Start on the given runlevels stop on runlevel [!2345] # Stop if NOT in one of the given runlevels respawn # Restart the job if ended without -o respawn limit 5 10 # Maximum of 5 respawn in a 10 second period env SERVER_NAME = somename # Change to specifed server # Run the actual server script exec C:/SERVER_NAME/server.sh
More about : automatically running shell scripts upstart