Compare commits
No commits in common. "master" and "master" have entirely different histories.
@ -1,3 +1,3 @@
|
|||||||
# ssm-services
|
# ssm-services
|
||||||
|
|
||||||
Examples of services for [ssm](https://code.fleshless.org/Spark/ssm)
|
Examples of services for [ssm](https://git.fleshless.org/ssm)
|
||||||
|
@ -6,7 +6,11 @@ service_command=( /usr/bin/fsck -A -C -p )
|
|||||||
pre_start() {
|
pre_start() {
|
||||||
printf 'Remounting / as read-only...\n'
|
printf 'Remounting / as read-only...\n'
|
||||||
mount / -o remount,ro
|
mount / -o remount,ro
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
printf 'Checking filesystems...\n'
|
printf 'Checking filesystems...\n'
|
||||||
|
super_start
|
||||||
}
|
}
|
||||||
|
|
||||||
post_start() {
|
post_start() {
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env ssm
|
|
||||||
|
|
||||||
service_pidfile = /tmp/zabbix_agentd.pid
|
|
||||||
service_command = /usr/bin/sudo -u zabbix-agent /usr/bin/zabbix_agentd -f
|
|
Loading…
x
Reference in New Issue
Block a user