Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 70c4b9d508
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.888 kb
# /etc/init/thanksgiving.conf
description "thanksgiving program"
author "Garrett Brown"
# used to be: start on startup
# until we found some mounts weren't ready yet while booting:
#start on started mountall
# If network interface is wireless
#start on (local-filesystems and net-device-up IFACE=wlan0)
start on (local-filesystems and virtual-filesystems)
# If network interface is Ethernet uncomment below line and comment above line
#start on (local-filesystems and net-device-up IFACE=eth0)
stop on shutdown
# Automatically Respawn:
respawn
respawn limit 99 5
script
# Not sure why $HOME is needed, but we found that it is:
chdir /home/garrett/ros/mecanum/avr_controller/bin
exec ./thanksgiving
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.