mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
automatically restart services
This commit is contained in:
parent
19173f1d47
commit
e3721d4913
@ -59,6 +59,10 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Automatically restart services
|
||||
# Restart mode: (l)ist only, (i)nteractive or (a)utomatically.
|
||||
sed -i "s|#\$nrconf{restart} = .*|\$nrconf{restart} = 'a'|g" /etc/needrestart/needrestart.conf
|
||||
|
||||
# Install needed dependenices
|
||||
install_if_not lshw
|
||||
install_if_not net-tools
|
||||
|
||||
Loading…
Reference in New Issue
Block a user