Advertisement
Guest User

Untitled

a guest
Oct 15th, 2016
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. #!/sbin/openrc-run
  2. # Copyright 2016 Ivan The Viking  1999-2012 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. # $Id$
  5.  
  6. command="/usr/bin/universalmediaserver"
  7. command_args="console"
  8. pidfile="${PMS_PIDFILE:-/var/run/ums.pid}"
  9. retry="10"
  10. start_stop_daemon_args="
  11.        --background
  12.        --make-pidfile
  13.        ${UMS_USER:+--user} ${UMS_USER}
  14.        ${UMS_GROUP:+--group} ${UMS_GROUP}
  15. "
  16.  
  17. depend() {
  18.         need net
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement