Created
October 5, 2019 00:23
-
-
Save Kautenja/ee257bd7033797591151de164c74e1a0 to your computer and use it in GitHub Desktop.
A dropbox service file
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
[Unit] | |
Description=Dropbox as a system service user %i | |
After=network.target | |
[Service] | |
ExecStart=${HOME}/.dropbox-dist/dropboxd | |
ExecStop=cat ${HOME}/.dropbox/dropbox.pid | xargs kill | |
User=%i | |
Group=%i | |
PIDFile=${HOME}/.dropbox/dropbox.pid | |
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
place in
/lib/systemd