summaryrefslogtreecommitdiff
path: root/app-misc/spire/files/spire-agent.initd
blob: bd64143f3e83e45c14f7051d461d9618bd932972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/sbin/openrc-run
# Copyright 2019 Sony Interactive Entertainment LLC
# Distributed under the terms of the GNU General Public License v2

name="spire agent daemon"
description="spire agent"
logfile="${logfile:-/var/log/spire/spire-agent.log}"
command=/opt/spire/spire-agent
command_args="run --logFile ${logfile} ${spire_agent_args}"
command_user=spire
directory=/opt/spire
supervisor=supervise-daemon