blob: 220e7228eebdeffc09b6139203838b0f6b92ba2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name=snapserver
command="/usr/bin/snapserver"
command_args="-d $SNAPSERVER_USER $SNAPSERVER_OPTS"
pidfile="/run/snapserver/pid"
depend() {
use avahi-daemon
}
start_pre() {
checkpath --directory --owner snapserver:snapserver --mode 0775 \
/run/snapserver
}
|