diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 09:08:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 09:13:42 +0700 |
commit | fb70acbb6420f3f1e57a23fa0768f0580f968f9c (patch) | |
tree | 5a183f5c328108586bf1f2ff2f7102d6385581f3 /system/webmin/reload.new | |
parent | a4cd3b4dce4ac81f7109262805402b5bdd737764 (diff) |
system/webmin: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/webmin/reload.new')
-rw-r--r-- | system/webmin/reload.new | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/webmin/reload.new b/system/webmin/reload.new new file mode 100644 index 0000000000..a345c0c1ee --- /dev/null +++ b/system/webmin/reload.new @@ -0,0 +1,4 @@ +#!/bin/sh +echo Reloading Webmin server in /usr/libexec/webmin +pidfile=`grep "^pidfile=" /etc/webmin/miniserv.conf | sed -e 's/pidfile=//g'` +kill -USR1 `cat $pidfile` |