diff options
Diffstat (limited to 'x11-misc/touchegg/files')
-rw-r--r-- | x11-misc/touchegg/files/touchegg.initd | 9 | ||||
-rw-r--r-- | x11-misc/touchegg/files/touchegg.service | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/touchegg/files/touchegg.initd b/x11-misc/touchegg/files/touchegg.initd new file mode 100644 index 0000000..f40da6d --- /dev/null +++ b/x11-misc/touchegg/files/touchegg.initd @@ -0,0 +1,9 @@ +#!/sbin/openrc-run +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/bin/touchegg +command_args="--daemon" +command_background=yes +description="Linux multitouch gesture recognizer" +pidfile=/run/touchegg.pid diff --git a/x11-misc/touchegg/files/touchegg.service b/x11-misc/touchegg/files/touchegg.service new file mode 100644 index 0000000..de39200 --- /dev/null +++ b/x11-misc/touchegg/files/touchegg.service @@ -0,0 +1,13 @@ +[Unit] +Description=Touchégg Daemon +Documentation=https://github.com/JoseExposito/touchegg/tree/master/installation#readme + +[Service] +Type=simple +Group=input +ExecStart=/usr/bin/touchegg --daemon +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=multi-user.target |