Last active
December 24, 2016 20:20
-
-
Save justlaputa/1e21a4e34f4de634292ee498fd0f6f3e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ sudo systemctl cat resilio-sync.service | |
# /lib/systemd/system/resilio-sync.service | |
[Unit] | |
Description=Resilio Sync service | |
Documentation=http://help.getsync.com/ | |
After=network.target network-online.target | |
[Service] | |
Type=forking | |
User=rslsync | |
Group=rslsync | |
UMask=0002 | |
Restart=on-failure | |
PermissionsStartOnly=true | |
PIDFile=/var/run/resilio-sync/sync.pid | |
ExecStartPre=/bin/mkdir -p /var/run/resilio-sync | |
ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync | |
ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment