diff options
| author | root <D Delmar Davis feurig@fromhell.com> | 2024-08-30 22:42:28 -0700 |
|---|---|---|
| committer | root <D Delmar Davis feurig@fromhell.com> | 2024-08-30 22:42:28 -0700 |
| commit | ad8b4eaa0e6e59a8eb7ffbf9734c3bf999a4b05d (patch) | |
| tree | 6daff5408ee853ced7da45420da611446ec2ee67 /systemd | |
| parent | 85891aced5772615250ab57e674e978ddec6e33e (diff) | |
service
Diffstat (limited to 'systemd')
| -rw-r--r-- | systemd/system/analogclock.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/system/analogclock.service b/systemd/system/analogclock.service new file mode 100644 index 0000000..b83d221 --- /dev/null +++ b/systemd/system/analogclock.service @@ -0,0 +1,16 @@ +[Unit] +Description = Analog Clock as a service. +After = network.target # Assuming you want to start after network interfaces are made available + +[Service] +Type = simple +ExecStart = python3 /usr/local/merlot/bin/analogclock.py & +User = root # User to run the script as +Group = root # Group to run the script as +Restart = on-failure # Restart when there are errors +SyslogIdentifier = analogclock +RestartSec = 5 +TimeoutStartSec = infinity + +[Install] +WantedBy = multi-user.target # Make it accessible to other users |
