Skip to content

Instantly share code, notes, and snippets.

@daxxog
Created January 22, 2013 20:18
Show Gist options
  • Save daxxog/4598024 to your computer and use it in GitHub Desktop.
Save daxxog/4598024 to your computer and use it in GitHub Desktop.
#/etc/init/no-ip.conf
#upstart service for noip2
description "No-IP Linux Dynamic Update Client (DUC)"
author "No-IP <webmaster@no-ip.com>"
# 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
# Start the process
exec noip2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment