13,007
回編集
541行目: | 541行目: | ||
Type=simple | Type=simple | ||
ExecStart=/usr/bin/systemd-inhibit --what=sleep --why="Libvirt domain \"%i\" is running" --who=%U --mode=block sleep infinity | ExecStart=/usr/bin/systemd-inhibit --what=sleep --why="Libvirt domain \"%i\" is running" --who=%U --mode=block sleep infinity | ||
<br> | |||
sudo ln -s /usr/lib/systemd/system/libvirt-nosleep.service /etc/systemd/system/ | |||
<br> | |||
sudo systemctl daemon-reload | |||
<br><br> | <br><br> | ||