This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
. /lib/lsb/init-functions | |
# Must be a valid filename | |
NAME=tesco | |
PIDFILE=/run/$NAME.pid | |
#This is the command to be run, give the full pathname | |
DAEMON=/var/lib/jenkins/.nvm/versions/node/v4.2.4/bin/node | |
DAEMON_OPTS="server.js" |