{"action":"opened","issue":{"url":"https://api.github.com/repos/petrockblog/Xarcade2Jstick/issues/34","repository_url":"https://api.github.com/repos/petrockblog/Xarcade2Jstick","labels_url":"https://api.github.com/repos/petrockblog/Xarcade2Jstick/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/petrockblog/Xarcade2Jstick/issues/34/comments","events_url":"https://api.github.com/repos/petrockblog/Xarcade2Jstick/issues/34/events","html_url":"https://github.com/petrockblog/Xarcade2Jstick/issues/34","id":135078489,"number":34,"title":"systemd fails to enable service","user":{"login":"sheepdestroyer","id":1377479,"avatar_url":"https://avatars.githubusercontent.com/u/1377479?v=3","gravatar_id":"","url":"https://api.github.com/users/sheepdestroyer","html_url":"https://github.com/sheepdestroyer","followers_url":"https://api.github.com/users/sheepdestroyer/followers","following_url":"https://api.github.com/users/sheepdestroyer/following{/other_user}","gists_url":"https://api.github.com/users/sheepdestroyer/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepdestroyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepdestroyer/subscriptions","organizations_url":"https://api.github.com/users/sheepdestroyer/orgs","repos_url":"https://api.github.com/users/sheepdestroyer/repos","events_url":"https://api.github.com/users/sheepdestroyer/events{/privacy}","received_events_url":"https://api.github.com/users/sheepdestroyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-20T14:08:45Z","updated_at":"2016-02-20T14:08:45Z","closed_at":null,"body":"on retropie 3.6, after cloning building and installing service, it fails to run : \r\n````\r\npi@retropie:~ $ git clone https://github.com/petrockblog/Xarcade2Jstick\r\nCloning into 'Xarcade2Jstick'...\r\nremote: Counting objects: 265, done.\r\nremote: Total 265 (delta 0), reused 0 (delta 0), pack-reused 264\r\nReceiving objects: 100% (265/265), 63.19 KiB | 0 bytes/s, done.\r\nResolving deltas: 100% (163/163), done.\r\nChecking connectivity... done.\r\npi@retropie:~ $ cd Xarcade2Jstick/\r\npi@retropie:~/Xarcade2Jstick $ make\r\ncd src && make all\r\nmake[1]: Entering directory '/home/pi/Xarcade2Jstick/src'\r\n CC input_xarcade.c\r\n CC uinput_gamepad.c\r\n CC main.c\r\n CC uinput_kbd.c\r\n Linking...\r\nmake[1]: Leaving directory '/home/pi/Xarcade2Jstick/src'\r\npi@retropie:~/Xarcade2Jstick $ sudo make install\r\ncd src && make install\r\nmake[1]: Entering directory '/home/pi/Xarcade2Jstick/src'\r\n Linking...\r\ninstall -d /usr/local/bin\r\ninstall -m 0755 xarcade2jstick /usr/local/bin\r\nmake[1]: Leaving directory '/home/pi/Xarcade2Jstick/src'\r\npi@retropie:~/Xarcade2Jstick $ sudo make installservice \r\ncd scripts && make installservice\r\nmake[1]: Entering directory '/home/pi/Xarcade2Jstick/scripts'\r\ninstall -d /lib/udev/rules.d/\r\ninstall -m 0644 80-xarcade.rules /lib/udev/rules.d/\r\ninstall -d /lib/systemd/system/\r\ninstall -m 0644 xarcade2jstick.service /lib/systemd/system/\r\nudevadm trigger --action=add --subsystem-match=input\r\nmake[1]: Leaving directory '/home/pi/Xarcade2Jstick/scripts'\r\npi@retropie:~/Xarcade2Jstick $ sudo reboot\r\n````\r\nAparently then I can not start or enable the service through systemctl, so I tried with full path : \r\n````\r\npi@retropie:~ $ sudo systemctl enable /lib/systemd/system/xarcade2jstick.service \r\nThe unit files have no [Install] section. They are not meant to be enabled\r\nusing systemctl.\r\nPossible reasons for having this kind of units are:\r\n1) A unit may be statically enabled by being symlinked from another unit's\r\n   .wants/ or .requires/ directory.\r\n2) A unit's purpose may be to act as a helper for some other unit which has\r\n   a requirement dependency on it.\r\n3) A unit may be started when needed via activation (socket, path, timer,\r\n   D-Bus, udev, scripted systemctl call, ...).\r\npi@retropie:~ $ \r\n````\r\n"}}