summaryrefslogtreecommitdiff
path: root/main/xl2tpd/xl2tpd.initd
blob: 833cd66ba1a3c368e7ee22d580b43f642c23f590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-init-r1,v 1.3 2012/12/25 20:48:00 floppym Exp $

command="/usr/sbin/xl2tpd"
command_args="$XL2TPD_OPTS"
pidfile="/var/run/xl2tpd.pid"
required_files="/etc/xl2tpd/xl2tpd.conf"

start_pre() {
	checkpath -d /var/run/xl2tpd
}