Changes

Jump to: navigation, search

Ubuntu

114 bytes added, 16:47, 31 October 2013
Upstart to launch/respawn installation
=Upstart to launch/respawn installation=
*create this in /etc/init/facegraft.conf
* <nowikipre> # face graft - face graft job file description “face grafting installation” author “Robert Twomey <mail@roberttwomey.com” # Stanzas # # Stanzas control when and how a process is started and stopped # See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas#respawn # When to start the service start on runlevel [2345] # When to stop the service stop on runlevel [016] # Automatically restart process if crashed respawn # Essentially lets upstart know the process will detach itself to the background expect fork # Run before process pre-start script [ -d /var/run/facegraft ] || mkdir -p /var/run/facegraft echo "Put bash code here" end script # Start the process exec /home/rtwomey/launch_grafter.sh</nowikipre>
=UVC / webcam control in ubuntu=

Navigation menu