Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ec2-set-hostname
- description "Sets and ec2 hostname based on tags"
- start on (local-filesystems and net-device-up IFACE!=lo)
- stop on deconfiguring-networking
- pre-start exec /usr/sbin/ec2_set_hostname.py start >> /tmp/upstart.log 2>&1
- 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