17 lines
443 B
Plaintext
17 lines
443 B
Plaintext
|
#!/sbin/openrc-run
|
||
|
|
||
|
name=aws-iam-authenticator
|
||
|
command="/usr/bin/aws-iam-authenticator"
|
||
|
command_background="true"
|
||
|
command_user="awsiam:awsiam"
|
||
|
pidfile="${pidfile:-/run/${RC_SVCNAME}.pid}"
|
||
|
|
||
|
start_stop_daemon_args="--stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
|
||
|
--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
|
||
|
|
||
|
command_args="server -l=json --config=/etc/aws-iam-authenticator/config.yaml"
|
||
|
|
||
|
depend() {
|
||
|
need net
|
||
|
}
|