description "Vigilia Server" author "Christian Fortin, HVAC.IO" start on runlevel [2345] stop on runlevel [!2345] #Respawn the process if it crashes #If it respawns more than 10 times in 60 seconds stop respawn respawn limit 10 60 expect fork #replace PATH-TO-THE-JAR with something like /home/hvacio/vigilia #replace PORT with the desired port number script cd PATH-TO-THE-JAR java -jar vigilia-server.jar PORT & end script