I have a problem I fail to debug, meaning I am unable to find any error message or log telling me what's wrong.When I boot my system, resilio sync is not running:$ systemctl --user status resilio-sync resilio-sync.service - Resilio Sync service   Loaded: loaded (/usr/lib/systemd/user/resilio-sync.service; enabled; vendor preset: enabled)   Active: inactive (dead)     Docs: http://help.getsync.com/But when I start it manually, it starts without any issues.$ systemctl --user start resilio-sync$ systemctl --user status resilio-sync resilio-sync.service - Resilio Sync service   Loaded: loaded (/usr/lib/systemd/user/resilio-sync.service; enabled; vendor preset: enabled)   Active: active (running) since Mon 2017-03-27 18:33:14 CEST; 31s ago     Docs: http://help.getsync.com/  Process: 2553 ExecStart=/usr/bin/rslsync --config %h/.config/resilio-sync/config.json (code=exited, status=0/SUCCESS)  Process: 2548 ExecStartPre=/etc/resilio-sync/init_user_config.sh (code=exited, status=0/SUCCESS) Main PID: 2554 (rslsync)   CGroup: /user.slice/user-1000.slice/user@1000.service/resilio-sync.service           2554 /usr/bin/rslsync --config /home/daniel/.config/resilio-sync/config.jsonMar 27 18:33:14 daniel-pc systemd[1759]: Starting Resilio Sync service...Mar 27 18:33:14 daniel-pc systemd[1759]: resilio-sync.service: Failed to read PID from file /home/daniel/.config/resilio-sync/sync.pid: Invalid argumentMar 27 18:33:14 daniel-pc systemd[1759]: Started Resilio Sync service.I assume there is some additional information required, but I am unable to find anything of use. The logfile in ~/.config only lists my successful manual start, nothing about the failed start.The resilio-sync.service on my system:[Unit]Description=Resilio Sync serviceDocumentation=http://help.getsync.com/After=network.target network-online.target[Service]Type=forkingRestart=on-failurePIDFile=%h/.config/resilio-sync/sync.pidExecStart=/usr/bin/rslsync --config %h/.config/resilio-sync/config.jsonExecStartPre=/etc/resilio-sync/init_user_config.sh[Install]WantedBy=default.target
Resilio sync won't start on boot
systemd
Problem solved. I went through all commands again and found my error. I ran both commands from the tutorial:systemctl --user enable resilio-syncandsystemctl enable resilio-syncWas resolved runningsystemctl --user disable resilio-syncsystemctl disable resilio-syncsystemctl --user enable resilio-sync