init.d-caps2esclogo4alt (417B)
1 #!/sbin/openrc-run 2 # install to /etc/init.d, ln -s to /etc/runtimes/default (rc-update enable) 3 name="caps2esc-logo4alt" 4 supervisor="supervise-daemon" 5 command="-N -20 /usr/local/bin/udevmon" 6 pidfile="/run/${RC_SVCNAME}.pid" 7 command_args="-c /etc/caps2esclogo4alt.yaml" 8 9 reload() { 10 ebegin "Reloading caps2esc-logo4alt configuration" 11 ${supervisor} ${RC_SVCNAME} --signal HUP --pidfile "${pidfile}" 12 eend $? 13 }