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