1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 11:49:53 +03:00
aports/community/aws-session-manager-plugin/ssmcli.initd

20 lines
368 B
Bash

#!/sbin/openrc-run
description="Initialize Amazon SSMCLI"
command="/usr/bin/ssmcli"
start() {
ebegin "Starting SSMCLI"
start-stop-daemon --start \
--exec ${command} ${command_args} \
-b --make-pidfile \
--pidfile "${pidfile}"
eend $?
}
stop() {
ebegin "Stopping SSMCLI"
start-stop-daemon --stop \
--exec ${command} \
--pidfile "${pidfile}"
eend $?
}