Search the Community

Showing results for tags 'systemd'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Resilio Sync
    • Sync General Discussion
    • Sync Troubleshooting
    • Sync for NAS (Network Attached Storage)
    • Sync Stories
    • Developers
    • Feature Requests

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hello community, i have problems to start the service as current user. Because there is no /usr/lib/systemd/user/resilio-sync.service file. So i can't change "WantedBy=default.target". As user rslsync the service works perfect. Here is a status output. antaeus@ideapad:~> systemctl --user status resilio-sync.service ‚óŹ resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2017-11-08 13:27:43 CET; 28min ago Docs: https://help.getsync.com/ Process: 9897 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited, status=216/GROUP) Thank you very much, and excuse me for my bad english
  2. Hi, I just solved an issue I had - just wnated to document it in case it's of some use? I had trouble to automatically start Sync under my user on my Fedora 23 laptop at boot. Although I had enabled btsync as systemd service under my user, it did not start up even after I entered my graphical session. In addition I enabled lingering for my user, i.e., to start a user manager for my user at boot and after logout - so that services under my user will survive me logging out... > sudo loginctl enable-linger $USER > systemctl --user enable btsync > systemctl --user start btsync Still, btsync did not start at boot. Remedy was to change the target for the btsync target from multi-user to default in the [Install] section in /usr/lib/systemd/user/btsync.service > /usr/lib/systemd/user/btsync.service # WantedBy=multi-user.target #original target WantedBy=default.target # working target After disabling and enabling again btsync with systemctl for my user for resetting the link to match the target, i.e., $HOME/.config/systemd/user/default.target.wants/btsync.service btysnc starts finally at boot under my user. I suspect, that maybe the network may be was an obstacle for multi-user as target, since not necessarily I have a network at start (is multi-user coupled with network-online??) Maybe somebody has an idea, what possible drawback could be with default as target? From what I see, it can change at some point (current graphical). Maybe graphical is not the optimal target. Anyway, I had thought that graphical downstream of multi-user, so I wonder why it is working Cheers, Thomas
  3. Hi, I've tried setitng up BTSync with systemd on Linux (Fedora 20). I followed the instructions here: http://forum.bittorrent.com/topic/23948-btsync-fedora-at-startup-and-working-start-stop-service/?p=68468 Which I've got loading for my user on boot OK but when it loads it always fails to connect to any peers until I reboot the service. It always almost immediately connects to a local peer once I've restarted the service. Here is the log where it fails to connect: Nov 03 07:01:38 nixon btsync[657]: By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.Nov 03 07:01:38 nixon btsync[657]: http://www.bittorrent.com/legal/privacyNov 03 07:01:38 nixon btsync[657]: http://www.bittorrent.com/legal/terms-of-useNov 03 07:01:38 nixon btsync[657]: http://www.bittorrent.com/legal/eulaNov 03 07:01:38 nixon btsync[657]: [20141103 07:01:31.577] total physical memory 536870912 max disk cache 2097152Nov 03 07:01:38 nixon btsync[657]: [20141103 07:01:32.677] Loading config file version 1.4.99Nov 03 07:01:38 nixon btsync[657]: [20141103 07:01:33.684] SF[A10C]: Loaded folder /home/michael/Documents/Work/ObsidianIRNov 03 07:01:38 nixon btsync[657]: [20141103 07:01:34.173] SF[E8BC]: Loaded folder /home/michael/.common/commonNov 03 07:01:49 nixon btsync[657]: [20141103 07:01:49.286] KickSocketObj::set_error(err=101, socket_error=false): : Network is unreachableNov 03 07:01:49 nixon btsync[657]: [20141103 07:01:49.287] Using IP address 192.168.0.2Nov 03 07:01:53 nixon btsync[657]: [20141103 07:01:53.293] UPnP: Could not map UPnP Port on this pass, retrying.Nov 03 07:01:58 nixon btsync[657]: [20141103 07:01:58.315] UPnP: Could not map UPnP Port on this pass, retrying.Nov 03 07:02:01 nixon btsync[657]: [20141103 07:02:01.317] NAT-PMP: Unable to map port with NAT-PMP.Nov 03 07:02:03 nixon btsync[657]: [20141103 07:02:03.319] UPnP: Could not map UPnP Port on this pass, retrying.Nov 03 07:02:08 nixon btsync[657]: [20141103 07:02:08.326] UPnP: Unable to map port 192.168.0.2:59543 with UPnP.And here is the log after I reboot the service: Nov 03 07:10:56 nixon btsync[2111]: By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.Nov 03 07:10:56 nixon btsync[2111]: http://www.bittorrent.com/legal/privacyNov 03 07:10:56 nixon btsync[2111]: http://www.bittorrent.com/legal/terms-of-useNov 03 07:10:56 nixon btsync[2111]: http://www.bittorrent.com/legal/eulaNov 03 07:10:56 nixon btsync[2111]: [20141103 07:10:56.420] total physical memory 536870912 max disk cache 2097152Nov 03 07:10:56 nixon btsync[2111]: [20141103 07:10:56.420] Using IP address 192.168.0.2Nov 03 07:10:56 nixon btsync[2111]: [20141103 07:10:56.422] Loading config file version 1.4.99Nov 03 07:10:56 nixon btsync[2111]: [20141103 07:10:56.423] SF[A10C]: Loaded folder /home/michael/Documents/Work/ObsidianIRNov 03 07:10:56 nixon btsync[2111]: [20141103 07:10:56.424] SF[E8BC]: Loaded folder /home/michael/.common/commonNov 03 07:11:00 nixon btsync[2111]: [20141103 07:11:00.434] UPnP: Could not map UPnP Port on this pass, retrying.Nov 03 07:11:05 nixon btsync[2111]: [20141103 07:11:05.424] UPnP: Could not map UPnP Port on this pass, retrying.Nov 03 07:11:10 nixon btsync[2111]: [20141103 07:11:10.426] UPnP: Could not map UPnP Port on this pass, retrying.Nov 03 07:11:15 nixon btsync[2111]: [20141103 07:11:15.471] UPnP: Unable to map port 192.168.0.2:24073 with UPnP.I notice that there is always a network unreachabel message on the failed connection attempt at boot. And I've noticed now that there also seems to be a NAT-PMP error message as well. I have told it to wait for networking in a couple of ways in the systemd service file: "After=network.target" and "After=network-online.target". But neither has helped. Here is the current state of my service file: [Unit]Description=BitTorrent Sync for %iAfter=network-online.target[Service]Type=simpleUser=%iExecStart=/usr/local/bin/btsync --nodaemon --config %h/.sync/sync.confRestart=on-abortWorkingDirectory=%h[Install]WantedBy=multi-user.targetAnd I have it enabled on boot for my user with: systemctl enable btsync@michael