Guest User

Untitled

a guest
Nov 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # $NetBSD: $
  4. #
  5. # PROVIDE: redis
  6. # REQUIRE: DAEMON
  7.  
  8. . /etc/rc.subr
  9.  
  10. name="redis"
  11. rcvar=${name}
  12. command="/usr/pkg/sbin/redis-server"
  13. required_files="/usr/pkg/etc/${name}.conf"
  14. command_args=" ${required_files}"
  15. pidfile="/var/run/${name}.pid"
  16. extra_commands="reload"
  17.  
  18. load_rc_config $name
  19. run_rc_command "$1"
Add Comment
Please, Sign In to add comment