You are not logged in.
I feel like this isn't a problem normally with other services, but with btsync (http://www.bittorrent.com/sync), the network connection never recovers when I resume from suspend. I don't know if it's btsync itself, but I doubt it because I know that it recovers normally on a friend's Ubuntu system. Anyway, could this be solved with a systemd tweak? I don't have a problem with forcibly restarting the service, if that's what needs to be done. Here's my service file:
[Unit]
Description=btsync
After=network.target
[Service]
User=andrew
Group=users
ExecStart=/home/andrew/bin/btsync-run start
PIDFile=/home/andrew/.config/btsync/btsync.pid
[Install]
WantedBy=multi-user.targetSame thing happens if I leave Spotify open before suspending, gotta restart.
Offline
Do the network details change after resume (ie, laptop moving between networks)? FWIW, btsync has a known issue where it can't handle that because it only fetches network information once at startup, so it will need a restart. If the network details don't change, it works fine after suspend for me on my home desktop.
I don't have an answer for how to automatically restart it though, sorry.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Not surprised that it's a known issue. Oh well. I just hate doing resume hooks for user-level services. Thanks anyway.
Offline