[Unit] Description=Bonescript autorun ConditionPathExists=|/var/lib/cloud9
[Service] WorkingDirectory=/usr/local/lib/node_modules/bonescript EnvironmentFile=/etc/default/node ExecStart=/usr/bin/node autorun.js SyslogIdentifier=bonescript-autorun
[Install] WantedBy=multi-user.target I tried to place the HTML file under WorkingDirectory (/usr/local/lib/node_modules/bonescript) and the JavaScript file kept it under the autorun directory of Cloud9 and waw everything works perfectly ;)