diff options
author | Nils Schulte | 2020-07-15 14:57:16 +0200 |
---|---|---|
committer | Nils Schulte | 2020-07-15 14:57:16 +0200 |
commit | 498c82a54b61b2d0fd197945866808b1cbfbe5f1 (patch) | |
tree | a02101717c7efa736a2b14515be036868a0af5fc | |
parent | 88a0b2c2104b5d5323a866340a0ec6d52e6f8891 (diff) | |
download | aur-498c82a54b61b2d0fd197945866808b1cbfbe5f1.tar.gz |
updated systemd unit
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | waybind.service | 14 | ||||
-rw-r--r-- | waybind.sysusers | 3 |
3 files changed, 15 insertions, 7 deletions
@@ -30,15 +30,12 @@ package() { mkdir -p "${pkgdir}/usr/bin/" install -Dm755 waybind "${pkgdir}/usr/bin/waybind" - #add waybind user with group uinput - install -Dm644 "../../waybind.sysusers" "${pkgdir}/usr/lib/sysusers.d/$_pkgname.conf" - #install uinput udev rule mkdir -p "${pkgdir}/usr/lib/udev/rules.d/" install -Dm644 "udev/99-uinput.rules" "${pkgdir}/usr/lib/udev/rules.d/99-uinput.rules" #install systemd unit - install -Dm644 "systemd/waybind.service" "${pkgdir}/usr/lib/systemd/system/$_pkgname.service" + install -Dm644 "../../waybind.service" "${pkgdir}/usr/lib/systemd/system/$_pkgname.service" #install example config file mkdir -p "${pkgdir}/etc/waybind/" diff --git a/waybind.service b/waybind.service new file mode 100644 index 000000000000..f94cb0f982e3 --- /dev/null +++ b/waybind.service @@ -0,0 +1,14 @@ +[Unit] +Description=Waybind deamon service + +[Service] +Type=simple +Restart=always +#User=waybind +Group=uinput +SupplementaryGroups=input +ExecStart=/usr/bin/waybind +PrivateNetwork=true + +[Install] +WantedBy=default.target diff --git a/waybind.sysusers b/waybind.sysusers deleted file mode 100644 index cd52ccca2808..000000000000 --- a/waybind.sysusers +++ /dev/null @@ -1,3 +0,0 @@ -u waybind - "waybind user" -m waybind uinput -m waybind input |