1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-16 03:42:44 +03:00
tiny-cloud/dist/openrc/tiny-cloud
Jake Buchholz Göktürk fa3125f0a5 Fix OpenRC Dependencies
2023-05-10 18:16:14 +00:00

21 lines
395 B
Bash
Executable File

#!/sbin/openrc-run
# vim:set ts=8 noet ft=sh:
description="Tiny Cloud Bootstrap - main phase"
extra_commands="complete incomplete"
depend() {
need net
before sshd
}
start() {
ebegin "Tiny Cloud - main phase"
tiny-cloud main
eend $?
}
# allow setting / unsetting of bootstrapped state
complete() { tiny-cloud --bootstrap complete ; }
incomplete() { tiny-cloud --bootstrap incomplete ; }