diff --git a/example/keylog.service b/example/keylog.service new file mode 100644 index 0000000..63b8431 --- /dev/null +++ b/example/keylog.service @@ -0,0 +1,14 @@ +# Sample file to copy to root systemd to start as a service on boot + +[Unit] +Description = Keylog service +Documentation = + +[Service] +Type = oneshot +User = root +RemainAfterExit = yes +ExecStart = /usr/local/bin/logkeys --start + +[Install] +WantedBy = multi-user.target