Systemd no sleep
This commit is contained in:
committed by
Risingprism
parent
c3d42f3a01
commit
432715a83c
Executable
+6
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Preventing sleep while libvirt domain "%i" is running
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/systemd-inhibit --what=sleep --why="Libvirt domain \"%i\" is running" --who=%U --mode=block sleep infinity
|
||||
Reference in New Issue
Block a user