Compare commits

..

4 Commits

Author SHA1 Message Date
fbt
090a1f6b6a this one is tricky
Signed-off-by: fbt <fbt@fleshless.org>
2021-03-05 01:14:21 +03:00
fbt
eb48f0da03 zabbix-agent
Signed-off-by: fbt <fbt@fleshless.org>
2021-03-03 08:49:26 +03:00
fbt
dabc53e04c WHY?!
Signed-off-by: fbt <fbt@fleshless.org>
2020-06-06 17:05:56 +03:00
fbt
8e9c371ce6 fix link
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-12 21:03:25 +03:00
3 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,3 @@
# ssm-services
Examples of services for [ssm](https://git.fleshless.org/ssm)
Examples of services for [ssm](https://code.fleshless.org/Spark/ssm)

View File

@ -6,11 +6,7 @@ service_command=( /usr/bin/fsck -A -C -p )
pre_start() {
printf 'Remounting / as read-only...\n'
mount / -o remount,ro
}
start() {
printf 'Checking filesystems...\n'
super_start
}
post_start() {

4
services/zabbix-agent Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env ssm
service_pidfile = /tmp/zabbix_agentd.pid
service_command = /usr/bin/sudo -u zabbix-agent /usr/bin/zabbix_agentd -f