We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bab391 commit cbfdd7bCopy full SHA for cbfdd7b
nextcloud_update.sh
@@ -35,6 +35,10 @@ is_process_running dpkg
35
# Automatically restart services (Ubuntu 22.04)
36
if ! version 16.04.10 "$DISTRO" 20.04.10
37
then
38
+ if [ ! -f /etc/needrestart/needrestart.conf ]
39
+ then
40
+ install_if_not needrestart
41
+ fi
42
if ! grep -rq "{restart} = 'a'" /etc/needrestart/needrestart.conf
43
44
# Restart mode: (l)ist only, (i)nteractive or (a)utomatically.
0 commit comments