Skip to content

Instantly share code, notes, and snippets.

@hummer2k
Created April 14, 2018 12:33
Show Gist options
  • Save hummer2k/926dcc851f765d07129c7c5b5e44d4bf to your computer and use it in GitHub Desktop.
Save hummer2k/926dcc851f765d07129c7c5b5e44d4bf to your computer and use it in GitHub Desktop.
systemd firefox sync service
[Unit]
Description=A gunicorn server running Mozilla's Firefox sync server
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=simple
User=pi
Group=pi
Restart=on-abort
ExecStart=/opt/ffsyncserver/local/bin/gunicorn --paste /opt/ffsyncserver/syncserver.ini
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment