Skip to content

Instantly share code, notes, and snippets.

@timjb
Created December 15, 2016 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timjb/4d5172339dc2291563594603fce34424 to your computer and use it in GitHub Desktop.
Save timjb/4d5172339dc2291563594603fce34424 to your computer and use it in GitHub Desktop.

Instructions

This intended to be used together with seafile-docker installed in /var/seafile.

To install:

$ sudo vim /etc/systemd/system/seafile.service # paste the file above
$ sudo systemctl enable /etc/systemd/system/seafile.service
$ sudo systemctl start seafile.service
[Unit]
Description=Seafile
After=docker.service
Requires=docker.service
[Service]
TimeoutStartSec=0
ExecStart=/var/seafile/launcher start
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment