Created
December 12, 2018 08:34
-
-
Save contropist/939a8ba5540b225bf919f07c15ca0935 to your computer and use it in GitHub Desktop.
seafile.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 | |
# add mysql.service or postgresql.service depending on your database to the line below | |
After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/seafile/seafile-server-latest/seafile.sh start | |
ExecStop=/seafile/seafile-server-latest/seafile.sh 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