From 5740574df57204cada47efbd8e3c72af09848bcf Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 15 Dec 2024 16:26:57 +0100 Subject: [PATCH] Update readme. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 942f419..4a43370 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,23 @@ Description is quite clear I assume in exception of last three. These are explai - Pr = key presses this session (so not the total in database). - Rel = key releases this session (so not the total in database). Release is one more than presses due startup of application that only registers the release of a key. - Rep = when you hold you key down thus repeats. Also for only session, not database totals. + +## Install as systemd service +This is the most comfortable way to use the application. You'll never miss a keypress! +1. Edit file: `/etc/systemd/system/tikker.service` +2. Insert content: +```[Unit] +Description=Tikker service +After=network-online.target + +[Service] +ExecStart=[tikker executable] +User=root +Group=root +Restart=always +RestartSec=3 +WorkingDirectory=[place where you want to have tikker.db] + +[Install] +WantedBy=default.target +```