mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
update debian packaging, install init script
This commit is contained in:
parent
f75a2c2a12
commit
efa56effde
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
2
debian/control
vendored
2
debian/control
vendored
@ -2,7 +2,7 @@ Source: softether-vpn
|
|||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Dmitry Orlov <me@mosquito.su>
|
Maintainer: Dmitry Orlov <me@mosquito.su>
|
||||||
Build-Depends: debhelper (>= 7.0.50~), libncurses-dev, linux-libc-dev, libssl-dev, libreadline-dev, build-essential
|
Build-Depends: debhelper (>= 7.0.50~), libncurses-dev, linux-libc-dev, libssl-dev, libreadline-dev, build-essential, dh-exec
|
||||||
Standards-Version: 3.9.1
|
Standards-Version: 3.9.1
|
||||||
Homepage: http://www.softether.org/
|
Homepage: http://www.softether.org/
|
||||||
|
|
||||||
|
1
debian/softether-vpnbridge.install
vendored
1
debian/softether-vpnbridge.install
vendored
@ -1,2 +1,3 @@
|
|||||||
|
#! /usr/bin/dh-exec
|
||||||
debian/bin/vpnbridge usr/bin/
|
debian/bin/vpnbridge usr/bin/
|
||||||
usr/vpnbridge opt/
|
usr/vpnbridge opt/
|
||||||
|
1
debian/softether-vpnclient.install
vendored
1
debian/softether-vpnclient.install
vendored
@ -1,2 +1,3 @@
|
|||||||
|
#! /usr/bin/dh-exec
|
||||||
debian/bin/vpnclient usr/bin/
|
debian/bin/vpnclient usr/bin/
|
||||||
usr/vpnclient opt/
|
usr/vpnclient opt/
|
||||||
|
1
debian/softether-vpncmd.install
vendored
1
debian/softether-vpncmd.install
vendored
@ -1,2 +1,3 @@
|
|||||||
|
#! /usr/bin/dh-exec
|
||||||
debian/bin/vpncmd usr/bin/
|
debian/bin/vpncmd usr/bin/
|
||||||
usr/vpncmd opt/
|
usr/vpncmd opt/
|
||||||
|
@ -26,12 +26,12 @@ test -x $DAEMON || exit 0
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Starting $DESC: $NAME"
|
echo -n "Starting $DESC: $NAME"
|
||||||
$DAEMON -start
|
$DAEMON start
|
||||||
echo "."
|
echo "."
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
echo -n "Stopping $DESC: $NAME"
|
echo -n "Stopping $DESC: $NAME"
|
||||||
$DAEMON -stop
|
$DAEMON stop
|
||||||
echo "."
|
echo "."
|
||||||
;;
|
;;
|
||||||
#reload)
|
#reload)
|
||||||
@ -54,9 +54,9 @@ case "$1" in
|
|||||||
# just the same as "restart".
|
# just the same as "restart".
|
||||||
#
|
#
|
||||||
echo -n "Restarting $DESC: $NAME"
|
echo -n "Restarting $DESC: $NAME"
|
||||||
$DAEMON -stop
|
$DAEMON stop
|
||||||
sleep 1
|
sleep 1
|
||||||
$DAEMON -start
|
$DAEMON start
|
||||||
echo "."
|
echo "."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
1
debian/softether-vpnserver.install
vendored
1
debian/softether-vpnserver.install
vendored
@ -1,2 +1,3 @@
|
|||||||
|
#! /usr/bin/dh-exec
|
||||||
debian/bin/vpnserver usr/bin/
|
debian/bin/vpnserver usr/bin/
|
||||||
usr/vpnserver opt/
|
usr/vpnserver opt/
|
||||||
|
Loading…
Reference in New Issue
Block a user