aboutsummaryrefslogtreecommitdiff
path: root/support/init.d.examples/openvpn.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-28 23:55:42 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-28 23:55:42 -0600
commit331d6f14fdf69d6fe17da77db7609bc861145fd6 (patch)
tree0c13ae15dc4f881a8662199d0de45007a493b6fd /support/init.d.examples/openvpn.in
parentcc0037e9caaee05af0fdedafc5798c2a7aa9bdb8 (diff)
support/init.d.examples: Do not use @PKG_PREFIX@ in service examples
I can't think of a reason to do this since these scripts are just examples. This is for #474.
Diffstat (limited to 'support/init.d.examples/openvpn.in')
-rw-r--r--support/init.d.examples/openvpn.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/init.d.examples/openvpn.in b/support/init.d.examples/openvpn.in
index 1608228e..d80cb295 100644
--- a/support/init.d.examples/openvpn.in
+++ b/support/init.d.examples/openvpn.in
@@ -12,10 +12,10 @@
vpn=${RC_SVCNAME#*.}
name="OpenVPN"
[ "$vpn" != openvpn ] && name="$name ($vpn)"
-command=@PKG_PREFIX@/sbin/openvpn
+command=/sbin/openvpn
pidfile=/var/run/"$RC_SVCNAME".pid
-: ${openvpn_dir:=@PKG_PREFIX@/etc/openvpn}
+: ${openvpn_dir:=/etc/openvpn}
: ${openvpn_config:=$openvpn_dir/$vpn.conf}
command_args="$openvpn_args --daemon --config $openvpn_config"
command_args="$command_args --writepid $pidfile"