mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Lower reload time but make sure it's not auto-restarted on force reload
This commit is contained in:
2
setup.sh
2
setup.sh
@ -694,8 +694,8 @@ if [ -x "$systemctlcmd" ]; then
|
||||
echo "$systemctlcmd restart webmin" >>$config_dir/restart
|
||||
# Force reload systemd
|
||||
echo "#!/bin/sh" >>$config_dir/restart-by-force-kill
|
||||
echo "$config_dir/.stop-init --kill >/dev/null 2>&1" >>$config_dir/restart-by-force-kill
|
||||
echo "$systemctlcmd stop webmin" >>$config_dir/restart-by-force-kill
|
||||
echo "$config_dir/.stop-init --kill >/dev/null 2>&1" >>$config_dir/restart-by-force-kill
|
||||
echo "$systemctlcmd start webmin" >>$config_dir/restart-by-force-kill
|
||||
# Reload systemd
|
||||
echo "#!/bin/sh" >>$config_dir/reload
|
||||
|
Reference in New Issue
Block a user