#!/sbin/openrc-run

description="Network Manager Web Panel"
command="/usr/local/bin/network-manager"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/network-manager.log"
error_log="/var/log/network-manager.log"

depend() {
    need net
    after firewall
}

start_pre() {
    checkpath --directory /var/log
}
