mirror of
https://github.com/isjerryxiao/pacroller.git
synced 2024-11-22 15:50:43 +08:00
call systemd-inhibit to prevent shutdown and suspend during an upgrade
This commit is contained in:
parent
af92a1bd97
commit
4d72984583
1 changed files with 2 additions and 1 deletions
|
@ -5,4 +5,5 @@ After=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/pacroller run
|
ExecStart=/usr/bin/systemd-inhibit /usr/bin/pacroller run
|
||||||
|
SyslogIdentifier=pacroller
|
||||||
|
|
Loading…
Reference in a new issue