#!/sbin/openrc-run
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

command="/usr/sbin/xl2tpd"
pidfile="/run/xl2tpd.pid"
required_files="/etc/xl2tpd/xl2tpd.conf"

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