cualsea/cualsead.init

17 lines
333 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Cualsead service monitor";
pidfile="/run/cualsea/cualsead.pid"
command="cualsead"
command_user="cualsea:cualsea"
command_background="true"
rundirectory="/run/cualsea"
start_pre() {
if [ ! -d $rundirectory ]; then
mkdir $rundirectory
chown cualsea:cualsea $rundirectory
fi
}