Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c3712269a5
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 0.709 kB
# /etc/init/upstart_test.conf
description "upstart test program"
author "Garrett Brown"
# If network interface is Ethernet uncomment below line
#start on (local-filesystems and net-device-up IFACE=eth0)
# If network interface is wireless
#start on (local-filesystems and net-device-up IFACE=wlan0)
start on (runlevel [2345] and virtual-filesystems)
stop on runlevel [016]
# Automatically restart process if crashed
respawn
script
chdir /home/garrett/ros/mecanum/avr_controller/bin
bash -c "source /home/garrett/.bashrc && ./upstart"
end script
post-start script
# Optionally put a script here that will notify you node has (re)started
# /root/bin/hoptoad.sh "node.js has started!"
end script
Jump to Line
Something went wrong with that request. Please try again.