blob: 87405a83c709b5ef067d3a72a206869457e33749 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
run_dir=${run_dir:-/run}
command="/opt/amc/amc"
command_progress="true"
retry='TERM/30/KILL/5'
pidfile=${run_dir}/${SVCNAME}.pid
user=${user:-root}
group=${group:-root}
start_stop_daemon_args="--user ${user} --group ${group}"
command_args="--daemon"
depend() {
use net
}
|