Skip to content

Commit

Permalink
Update vpn-server.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysonvelagio authored Jun 25, 2018
1 parent 2f105dc commit f25a383
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Debian and Ubuntu/vpn-server.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
### BEGIN INIT INFO
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
### BEGIN INIT INFO
# Provides: vpnserver
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable Softether by daemon.
### END INIT INFO
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
test -x $DAEMON || exit 0
Expand All @@ -24,4 +30,3 @@ echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
### END INIT INFO

0 comments on commit f25a383

Please sign in to comment.