Remove the lock file handling from the service and let systemd handle it.

This commit is contained in:
2025-09-21 00:52:58 +02:00
parent be116c222e
commit 4fc3a849f6
2 changed files with 2 additions and 21 deletions

View File

@@ -4,7 +4,9 @@ After=network.target
[Service]
ExecStart=/usr/local/bin/git-monitor
LockFile=/run/git-monitor-lock
Restart=on-failure
RemovalPolicy=onFailure
User=monitor
WorkingDirectory=/opt/src