mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-10-21 19:44:39 +00:00
art: Move out services
Part of: https://github.com/c3os-io/c3os/issues/68
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
package openrc
|
||||
|
||||
const EdgevpnUnit string = `#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
after net
|
||||
provide edgevpn
|
||||
}
|
||||
|
||||
supervisor=supervise-daemon
|
||||
name="edgevpn"
|
||||
command="edgevpn"
|
||||
supervise_daemon_args="--stdout /var/log/edgevpn.log --stderr /var/log/edgevpn.log"
|
||||
pidfile="/run/edgevpn.pid"
|
||||
respawn_delay=5
|
||||
set -o allexport
|
||||
if [ -f /etc/environment ]; then source /etc/environment; fi
|
||||
if [ -f /etc/systemd/system.conf.d/edgevpn-c3os.env ]; then source /etc/systemd/system.conf.d/edgevpn-c3os.env; fi
|
||||
set +o allexport`
|
Reference in New Issue
Block a user