]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/packages/amazon-ssm-agent
2 ########################################################################
3 # Begin $rc_base/init.d/amazon-ssm-agent
4 ########################################################################
11 # Do not launch the agent when we are not running on EC2
12 if ! running_on_ec2
; then
16 boot_mesg
"Starting Amazon SSM Agent..."
17 /usr
/bin
/amazon-ssm-agent
&>/dev
/null
&
22 boot_mesg
"Stopping Amazon SSM Agent..."
23 killproc
/usr
/bin
/amazon-ssm-agent
33 statusproc
/usr
/bin
/amazon-ssm-agent
37 echo "Usage: ${0} {start|stop|restart|status}"
42 # End $rc_base/init.d/amazon-ssm-agent