From 0a2a41c7c2485284ac1177995291154d0cc0c8f0 Mon Sep 17 00:00:00 2001 From: KeeganForelight Date: Fri, 13 Jan 2023 21:36:35 -0500 Subject: [PATCH] adding systemd service file --- timesheet.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 timesheet.service diff --git a/timesheet.service b/timesheet.service new file mode 100644 index 0000000..b712953 --- /dev/null +++ b/timesheet.service @@ -0,0 +1,11 @@ +[Unit] +Description=Timesheet manager + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/home/keegan/bin/timetracker -i +ExecStop=/home/keegan/bin/timetracker -o + +[Install] +WantedBy=default.target