Want more features on Pastebin? Sign Up, it's FREE!
Guest

Seafile service definition

By: a guest on Nov 20th, 2013  |  syntax: INI file  |  size: 0.29 KB  |  views: 98  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [Unit]
  2. Description=An open source file sync server
  3.  
  4. [Service]
  5. User=seafile
  6. Type=forking
  7. WorkingDirectory=<seafile folder>
  8. ExecStart=/usr/bin/seafile-admin start
  9. ExecStop=/usr/bin/seafile-admin stop
  10. PIDFile=/srv/seafile/seafile-data/pids/seaf-server.pid
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
clone this paste RAW Paste Data