summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/xl2tpd/files')
-rw-r--r--net-dialup/xl2tpd/files/xl2tpd-init-r16
-rw-r--r--net-dialup/xl2tpd/files/xl2tpd.conf2
2 files changed, 4 insertions, 4 deletions
diff --git a/net-dialup/xl2tpd/files/xl2tpd-init-r1 b/net-dialup/xl2tpd/files/xl2tpd-init-r1
index 4e9956a4d13d..82366c69f57c 100644
--- a/net-dialup/xl2tpd/files/xl2tpd-init-r1
+++ b/net-dialup/xl2tpd/files/xl2tpd-init-r1
@@ -1,11 +1,11 @@
#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/xl2tpd"
-pidfile="/var/run/xl2tpd.pid"
+pidfile="/run/xl2tpd.pid"
required_files="/etc/xl2tpd/xl2tpd.conf"
start_pre() {
- checkpath -d /var/run/xl2tpd
+ checkpath -d /run/xl2tpd
}
diff --git a/net-dialup/xl2tpd/files/xl2tpd.conf b/net-dialup/xl2tpd/files/xl2tpd.conf
index 67162b26df06..32119f564439 100644
--- a/net-dialup/xl2tpd/files/xl2tpd.conf
+++ b/net-dialup/xl2tpd/files/xl2tpd.conf
@@ -1 +1 @@
-d /var/run/xl2tpd
+d /run/xl2tpd