diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-07-21 19:28:44 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-07-21 19:28:44 +0000 |
commit | 08fc07b4db7c901022c95d5d77e74016a2fce5a5 (patch) | |
tree | 3e78e0506f9046dfedeef51a3ac088e362c49f91 /app-admin/webmin/files/webmin-gentoo-init | |
parent | Added depend section. Closes #24818 (diff) | |
download | gentoo-2-08fc07b4db7c901022c95d5d77e74016a2fce5a5.tar.gz gentoo-2-08fc07b4db7c901022c95d5d77e74016a2fce5a5.tar.bz2 gentoo-2-08fc07b4db7c901022c95d5d77e74016a2fce5a5.zip |
Added depend section. Closes #24818
Diffstat (limited to 'app-admin/webmin/files/webmin-gentoo-init')
-rw-r--r-- | app-admin/webmin/files/webmin-gentoo-init | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-admin/webmin/files/webmin-gentoo-init b/app-admin/webmin/files/webmin-gentoo-init new file mode 100644 index 000000000000..a6fd9b354a0c --- /dev/null +++ b/app-admin/webmin/files/webmin-gentoo-init @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later + +depend() { + need net logger +} + +start() { + ebegin "Starting webmin" + /etc/webmin/start + eend $? +} + +stop() { + ebegin "Stopping webmin" + /etc/webmin/stop + eend $? +} |