Add ability to select compression algo by downloading location with file extension.
- Also update README.md with more useful examples.
This commit is contained in:
18
contrib/backer.openrc
Normal file
18
contrib/backer.openrc
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="$SVCNAME"
|
||||
command="/usr/local/sbin/$SVCNAME"
|
||||
supervisor="supervise-daemon"
|
||||
pidfile="/run/$SVCNAME/$SVCNAME.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
mkdir -p /var/log/$SVCNAME
|
||||
mkdir -p /run/$SVCNAME
|
||||
}
|
||||
|
||||
# vim: set ft=sh noet ai ts=4 sw=4 sts=4:
|
||||
Reference in New Issue
Block a user