Use flock locking in services
This commit is contained in:
parent
fb556ae0ad
commit
8e269821d3
4 changed files with 6 additions and 3 deletions
|
|
@ -6,5 +6,5 @@ OnFailure=status-email-root@%n.service
|
|||
Nice=19
|
||||
IOSchedulingClass=idle
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/backup-retention
|
||||
ExecStart=/bin/flock --timeout {{ backups.jobs.retention.lock_timeout }} /run/backup-client.flock /usr/local/bin/backup-retention
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue