Created
December 12, 2018 08:36
-
-
Save contropist/e749705314eaab79df9a49bba7d20e36 to your computer and use it in GitHub Desktop.
seafile-client.service
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=Seafile client | |
# Uncomment the next line you are running seafile client on the same computer as server | |
# After=seafile.service | |
# Or the next one in other case | |
# After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/seaf-cli start | |
ExecStop=/usr/bin/seaf-cli stop | |
RemainAfterExit=yes | |
User=root | |
Group=root | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment