-
-
Save Joshfindit/c10117a1531fcd06c3320ff6319f3ea3 to your computer and use it in GitHub Desktop.
Shell script for monit to keep the dropbox daemon running
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
check process dropbox with pidfile /home/username/.dropbox/dropbox.pid | |
start program = "/home/username/dropbox.py start" | |
as uid username and gid username | |
stop program = "/home/username/dropbox.py stop" | |
as uid username and gid username | |
# Installed to /etc/monit/conf.d/dropbox-monit | |
# Assumes that https://www.dropbox.com/download?dl=packages/dropbox.py is installed at /home/username/dropbox.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment