Created
November 12, 2012 02:04
-
-
Save amachang/4057122 to your computer and use it in GitHub Desktop.
Ubuntu Upstart Script for Skype
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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