Created
November 10, 2015 17:25
-
-
Save martbhell/207f4c11dfbf67f7302c to your computer and use it in GitHub Desktop.
dropbox systemd with dropbox.py script for debian 8 jessie
This file contains 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
[Unit] | |
Description=Dropbox Service | |
After=network.target | |
[Service] | |
ExecStart=/bin/sh -c '/usr/local/bin/dropbox.py start' | |
ExecStop=/bin/sh -c '/usr/local/bin/dropbox.py stop' | |
PIDFile=/home/USER/.dropbox/dropbox.pid | |
User=USER | |
Group=USER | |
Type=forking | |
Restart=on-failure | |
RestartSec=5 | |
StartLimitInterval=60s | |
StartLimitBurst=3 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment