Skip to content

Instantly share code, notes, and snippets.

@contropist
Created December 12, 2018 08:35
Show Gist options
  • Save contropist/b267fff4fbf26a8a5e157de8408419d2 to your computer and use it in GitHub Desktop.
Save contropist/b267fff4fbf26a8a5e157de8408419d2 to your computer and use it in GitHub Desktop.
seahub.service
[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