emissary/misc/packaging/openrc/emissary-agent.openrc.sh

11 lines
257 B
Bash

#!/sbin/openrc-run
command="/usr/bin/emissary"
command_args="--workdir /usr/share/emissary --config /etc/emissary/agent.yml agent run"
supervisor=supervise-daemon
output_log="/var/log/emissary/agent.log"
error_log="$output_log"
depend() {
need net
}