#!/sbin/openrc-run

name="incus-sync"
description="Incus auto sync with failover"

command="/usr/local/bin/incus-sync.sh"
command_background=true
pidfile="/var/run/${RC_SVCNAME}.pid"

depend() {
  need net
  after incusd
}