Skip to content

Instantly share code, notes, and snippets.

@amachang
Created November 12, 2012 02:04
Show Gist options
  • Select an option

  • Save amachang/4057122 to your computer and use it in GitHub Desktop.

Select an option

Save amachang/4057122 to your computer and use it in GitHub Desktop.
Ubuntu Upstart Script for Skype
# Set up xvfb.conf like https://gist.github.com/1934754
# as a prerequisite for this configuration.
description "Skype"
start on (net-device-up
and local-filesystems
and started dbus
and started xvfb
and runlevel [2345])
stop on runlevel [016]
respawn
env DISPLAY=localhost:99.0
pre-start script
mkdir -p -m0755 /var/skype
echo USERNAME PASSWORD > /var/skype/.password
end script
exec nohup /usr/bin/skype --pipelogin --dbpath=/var/skype/.Skype < /var/skype/.password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment