#!/sbin/openrc-run # Copyright 2026 Shin'ya Minazuki supervisor="supervise-daemon" command="/usr/sbin/immortaldir" command_args="/etc/immortal" command_background="true" pidfile="/run/${RC_SVCNAME}.pid" depend() { need net } start_pre() { if ! checkpath --directory /etc/immortal; then eerror "Create the directory before starting ${RC_SVCNAME}" eerror "Bailing out." fi eend $? }