Advertisement
Guest User

Untitled

a guest
Mar 28th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. # ec2-set-hostname
  2. description "Sets and ec2 hostname based on tags"
  3.  
  4. start on (local-filesystems and net-device-up IFACE!=lo)
  5. stop on deconfiguring-networking
  6.  
  7. pre-start exec /usr/sbin/ec2_set_hostname.py start >> /tmp/upstart.log 2>&1
  8. post-stop exec /usr/sbin/ec2_set_hostname.py stop >> /tmp/upstart.log 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement