Pārlūkot izejas kodu

Systemd now removes the lock file when the service is stopped

Brendan Abolivier 8 gadus atpakaļ
vecāks
revīzija
f10c0ba328
Parakstījis: Brendan Abolivier <contact@brendanabolivier.com> GPG atslēgas ID: 8EF1500759F70623
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      welcomehome.service

+ 1
- 0
welcomehome.service Parādīt failu

@@ -5,6 +5,7 @@ Requires=mopidy.service
5 5
 [Service]
6 6
 Type=simple
7 7
 ExecStart=/usr/local/bin/welcomehome /etc/welcomehome/welcomehome.conf
8
+ExecStopPost=-/bin/rm /etc/welcomehome/home.lck
8 9
 Restart=on-abort
9 10
 [Install]
10 11
 WantedBy=multi-user.target