From 40da7c7b4d93c3f044f428c5192ec8e3b6dba3a9 Mon Sep 17 00:00:00 2001 From: Adam Harrison-Fuller Date: Wed, 21 Jan 2026 20:15:11 +0000 Subject: [PATCH] Generecising the systemd unit --- ntpclock.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ntpclock.service b/ntpclock.service index 506f0d8..dffb9fa 100644 --- a/ntpclock.service +++ b/ntpclock.service @@ -3,9 +3,9 @@ Description=NTP Clock Display After=network.target [Service] -ExecStart=/home/dietpi/ntpclock/venv/bin/python /home/dietpi/ntpclock/ntpclock.py -b 16 -WorkingDirectory=/home/dietpi/ntpclock -User=dietpi +ExecStart=/venv/bin/python /ntpclock.py -b 16 +WorkingDirectory= +User= Restart=always RestartSec=5