Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # $NetBSD: $
- #
- # PROVIDE: redis
- # REQUIRE: DAEMON
- . /etc/rc.subr
- name="redis"
- rcvar=${name}
- command="/usr/pkg/sbin/redis-server"
- required_files="/usr/pkg/etc/${name}.conf"
- command_args=" ${required_files}"
- pidfile="/var/run/${name}.pid"
- extra_commands="reload"
- load_rc_config $name
- run_rc_command "$1"
Add Comment
Please, Sign In to add comment