Created
June 11, 2015 10:42
-
-
Save marxjohnson/ddee2a13f3e0d70a7ea0 to your computer and use it in GitHub Desktop.
Profile sync daemon Upstart Session Job
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
description "Profile Sync Daemon" | |
start on desktop-start | |
stop on desktop-end | |
post-start exec sudo /usr/bin/psd sync | |
post-stop exec sudo /usr/bin/psd unsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that your user needs to be able to run
sudo /usr/bin/psd
without a password.