{"action":"created","issue":{"url":"https://api.github.com/repos/skilion/onedrive/issues/344","repository_url":"https://api.github.com/repos/skilion/onedrive","labels_url":"https://api.github.com/repos/skilion/onedrive/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/skilion/onedrive/issues/344/comments","events_url":"https://api.github.com/repos/skilion/onedrive/issues/344/events","html_url":"https://github.com/skilion/onedrive/issues/344","id":317108343,"number":344,"title":"Unit network-online.target not found","user":{"login":"jamiedow","id":5437444,"avatar_url":"https://avatars2.githubusercontent.com/u/5437444?v=4","gravatar_id":"","url":"https://api.github.com/users/jamiedow","html_url":"https://github.com/jamiedow","followers_url":"https://api.github.com/users/jamiedow/followers","following_url":"https://api.github.com/users/jamiedow/following{/other_user}","gists_url":"https://api.github.com/users/jamiedow/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiedow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiedow/subscriptions","organizations_url":"https://api.github.com/users/jamiedow/orgs","repos_url":"https://api.github.com/users/jamiedow/repos","events_url":"https://api.github.com/users/jamiedow/events{/privacy}","received_events_url":"https://api.github.com/users/jamiedow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-24T07:48:20Z","updated_at":"2018-04-24T08:01:14Z","closed_at":null,"author_association":"NONE","body":"Hi, folks,\r\nCan anyone help? I'm getting the following issue, when I try to use the onedrive service.\r\n\r\n`jamie@jamie-samsung ~ $ systemctl --user start onedrive\r\nFailed to start onedrive.service: Unit network-online.target not found.`\r\n\r\nI had this before, and it somehow went away after some time (I don't know why), but now it's back.\r\nIt isn't plausible to think that this is simply missing in my distro (Mint 18.1 xfce). Network seems to be working otherwise ..... what can this be - I'm really beyond my tech abilities here?\r\n\r\nAll help very much appreciated.\r\nOh, I'm already running #314.\r\n\r\nThanks, Jamie"},"comment":{"url":"https://api.github.com/repos/skilion/onedrive/issues/comments/383840353","html_url":"https://github.com/skilion/onedrive/issues/344#issuecomment-383840353","issue_url":"https://api.github.com/repos/skilion/onedrive/issues/344","id":383840353,"user":{"login":"jamiedow","id":5437444,"avatar_url":"https://avatars2.githubusercontent.com/u/5437444?v=4","gravatar_id":"","url":"https://api.github.com/users/jamiedow","html_url":"https://github.com/jamiedow","followers_url":"https://api.github.com/users/jamiedow/followers","following_url":"https://api.github.com/users/jamiedow/following{/other_user}","gists_url":"https://api.github.com/users/jamiedow/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiedow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiedow/subscriptions","organizations_url":"https://api.github.com/users/jamiedow/orgs","repos_url":"https://api.github.com/users/jamiedow/repos","events_url":"https://api.github.com/users/jamiedow/events{/privacy}","received_events_url":"https://api.github.com/users/jamiedow/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T08:01:14Z","updated_at":"2018-04-24T08:01:14Z","author_association":"NONE","body":"Sorry ... I'm not certain which file you mean. But I'm guessing it might be ~/onedrive/onedrive@.service\r\nIf so (I also have a file called onedrive.service in the same directory, but I think that's a different service, to be run as root), here it is:\r\n\r\n~/onedrive/onedrive@.service\r\n`[Unit]\r\nDescription=OneDrive Free Client for %i\r\nDocumentation=https://github.com/skilion/onedrive\r\nRequires=network-online.target\r\nAfter=network-online.target\r\n\r\n[Service]\r\nExecStart=/usr/local/bin/onedrive --monitor --confdir=/home/%i/.config/onedrive\r\nUser=%i\r\nGroup=users\r\nRestart=on-failure\r\nRestartSec=3\r\n\r\n[Install]\r\nWantedBy=multi-user.target`"}}
{"actor":{"display_login":"jamiedow"}}