upd
This commit is contained in:
18
usr/local/etc/rc.d/paperlessconsumer
Normal file
18
usr/local/etc/rc.d/paperlessconsumer
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
||||
name="paperlessconsumer"
|
||||
rcvar="${name}_enable"
|
||||
procname="daemon"
|
||||
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -P ${pidfile} -u paperless /usr/local/sbin/${name}"
|
||||
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
18
usr/local/etc/rc.d/paperlessscheduler
Normal file
18
usr/local/etc/rc.d/paperlessscheduler
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
||||
name="paperlessscheduler"
|
||||
rcvar="${name}_enable"
|
||||
procname="daemon"
|
||||
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -P ${pidfile} -u paperless /usr/local/sbin/${name}"
|
||||
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
18
usr/local/etc/rc.d/paperlesswebserver
Normal file
18
usr/local/etc/rc.d/paperlesswebserver
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
||||
name="paperlesswebserver"
|
||||
rcvar="${name}_enable"
|
||||
procname="daemon"
|
||||
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -P ${pidfile} -u paperless /usr/local/sbin/${name}"
|
||||
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
Reference in New Issue
Block a user