Last active
July 1, 2024 04:13
-
-
Save alanfzf/92135a1a29d2eeace89205db9fee2417 to your computer and use it in GitHub Desktop.
Dropbox Install
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
wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - -C $HOME | |
sudo tee /etc/systemd/system/dropbox@.service > /dev/null <<EOF | |
[Unit] | |
Description=Dropbox as a system service | |
After=local-fs.target network.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/env "/home/%i/.dropbox-dist/dropboxd" | |
Restart=on-failure | |
RestartSec=1 | |
User=%i | |
[Install] | |
WantedBy=multi-user.target | |
EOF |
Author
alanfzf
commented
May 11, 2024
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment