urbackup.service 333 B

12345678910111213
  1. #!/sbin/openrc-run
  2. # $Id$
  3. URBACKUPCLIENT_CONFIG="/etc/conf.d/urbackupclient"
  4. URBACKUPCLIENT_PIDFILE="/var/run/urbackupclient.pid"
  5. command="/usr/local/sbin/urbackupclientbackend"
  6. command_args="-c ${URBACKUPCLIENT_CONFIG} -w ${URBACKUPCLIENT_PIDFILE} -d"
  7. pidfile="${URBACKUPCLIENT_PIDFILE}"
  8. depend() {
  9. use logger net urbackupsrv
  10. }