X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sysv%2Fv_gated.subst;fp=sysv%2Fv_gated.subst;h=294857acf0b0e13b9a98adb322c34503cad8ec6e;hb=9c78378bebc1a9f3d400f422df8ede9efea57dea;hp=0000000000000000000000000000000000000000;hpb=faa778968d1a7dfeaebc9fe4b847e691dc62fd15;p=util-vserver.git diff --git a/sysv/v_gated.subst b/sysv/v_gated.subst new file mode 100755 index 0000000..294857a --- /dev/null +++ b/sysv/v_gated.subst @@ -0,0 +1,13 @@ +#!/bin/sh +# chkconfig: - 32 75 +# description: Wrapper to start gated bound to a single IP + +# normally, you will need /etc/vservices/gated.conf +# with the following line +# IP=0.0.0.0 +# so gated is started without restriction even if you +# restart it from an ssh session, itself "chbounded" to a single +# IP. +USR_LIB_VSERVER=/usr/lib/util-vserver +exec $USR_LIB_VSERVER/vsysvwrapper gated $* +