debian package
This commit is contained in:
parent
b93211cdf2
commit
6dd6211f79
|
@ -0,0 +1,5 @@
|
||||||
|
openvpn-mgt (0.1.0-0) bionic; urgency=low
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Xavier Henner <xavier@euclide.org> Sat, 17 Aug 2019 11:00:00 +0100
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,12 @@
|
||||||
|
Source: openvpn-mgt
|
||||||
|
Section: net
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Xavier Henner <xavier@euclide.org>
|
||||||
|
Build-Depends: debhelper (>= 5), golang-1.11
|
||||||
|
Standards-Version: 3.7.2
|
||||||
|
|
||||||
|
Package: openvpn-mgt
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}, openvpn
|
||||||
|
Description: OpenVPN Management Server, manage expressvpn
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
openvpn-mgt usr/bin
|
|
@ -0,0 +1,5 @@
|
||||||
|
#openvpn-mgt base config
|
||||||
|
|
||||||
|
ENABLED=1
|
||||||
|
CONFIGURATION="/etc/openvpn/vpn-mgt.conf"
|
||||||
|
OPTS="-syslog"
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
addgroup --system openvpn
|
||||||
|
adduser --system openvpn --home /etc/openvpn --ingroup openvpn --no-create-home
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Automatically added by dh_installinit
|
||||||
|
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
|
||||||
|
if [ -x "/etc/init.d/openvpn-mgt" ]; then
|
||||||
|
update-rc.d openvpn-mgt defaults >/dev/null
|
||||||
|
invoke-rc.d openvpn-mgt start || exit $?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# End automatically added section
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exit 0
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Automatically added by dh_installinit
|
||||||
|
if [ "$1" = "purge" ] ; then
|
||||||
|
update-rc.d openvpn-mgt remove >/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# In case this system is running systemd, we make systemd reload the unit files
|
||||||
|
# to pick up changes.
|
||||||
|
if [ -d /run/systemd/system ] ; then
|
||||||
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
|
fi
|
||||||
|
# End automatically added section
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Automatically added by dh_installinit
|
||||||
|
if [ -x "/etc/init.d/openvpn-mgt" ]; then
|
||||||
|
invoke-rc.d openvpn-mgt stop || exit $?
|
||||||
|
fi
|
||||||
|
# End automatically added section
|
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=openvpn-mgt
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=openvpn
|
||||||
|
Group=openvpn
|
||||||
|
EnvironmentFile=/etc/default/openvpn-mgt
|
||||||
|
StandardOutput=null
|
||||||
|
StandardError=journal
|
||||||
|
LimitNOFILE=65536
|
||||||
|
ExecStart=/usr/bin/openvpn-mgt -config ${CONFIGURATION} ${OPTS}
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,3 @@
|
||||||
|
shlibs:Depends=libc6 (>= 2.3.2)
|
||||||
|
misc:Depends=
|
||||||
|
misc:Pre-Depends=
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
DPKG_EXPORT_BUILDFLAGS=1
|
||||||
|
include /usr/share/dpkg/default.mk
|
||||||
|
DEB_BUILD_OPTIONS=nostrip
|
||||||
|
|
||||||
|
override_dh_strip:
|
||||||
|
|
||||||
|
override_dh_strip_nondeterminism:
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue