Created
December 12, 2018 08:35
-
-
Save contropist/b267fff4fbf26a8a5e157de8408419d2 to your computer and use it in GitHub Desktop.
seahub.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 hub | |
After=network.target seafile.service | |
[Service] | |
# change start to start-fastcgi if you want to run fastcgi | |
ExecStart=/seafile/seafile-server-latest/seahub.sh start | |
ExecStop=/seafile/seafile-server-latest/seahub.sh stop | |
User=root | |
Group=root | |
Type=oneshot | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment