diff options
author | szaimen <szaimen@e.mail.de> | 2020-10-02 21:08:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 21:08:43 +0300 |
commit | 476ea4e96a65dd37a0b0da9a9335c793d6fd33ee (patch) | |
tree | a485983ffb5838ec7be574db7c06e5795145a2e4 /nextcloud_install_production.sh | |
parent | f732671d5b65ccbc291fcf7eadd3508905e0780a (diff) |
Disable hibernation (#1506)
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r-- | nextcloud_install_production.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 0fc9c41b..c2ae366e 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -845,6 +845,9 @@ then check_command sed -i "s|VM|Home/SME Server|g" $SCRIPTS/nextcloud-startup-script.sh fi +# Disable hibernation +systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target + # Reboot msg_box "Installation almost done, system will reboot when you hit OK. |