mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Add OpenRC init scripts for bootstrapping Alpine Linux from Git
This commit is contained in:
parent
7dd4a52ca1
commit
dae34b30f9
5 changed files with 50 additions and 0 deletions
6
pkg/alpine/README.rst
Normal file
6
pkg/alpine/README.rst
Normal file
|
@ -0,0 +1,6 @@
|
|||
========================
|
||||
Support for Alpine Linux
|
||||
========================
|
||||
|
||||
This directory contains initialization scripts for Salt services which intended
|
||||
to be used during the bootstrap process on Alpine Linux (OpenRC init system).
|
11
pkg/alpine/salt-api
Executable file
11
pkg/alpine/salt-api
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/sbin/openrc-run
|
||||
command="/usr/bin/salt-api"
|
||||
command_args="--daemon"
|
||||
pidfile="/var/run/salt-api.pid"
|
||||
name="Salt API daemon"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net
|
||||
after bootmisc
|
||||
}
|
11
pkg/alpine/salt-master
Executable file
11
pkg/alpine/salt-master
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/sbin/openrc-run
|
||||
command="/usr/bin/salt-master"
|
||||
command_args="--daemon"
|
||||
pidfile="/var/run/salt-master.pid"
|
||||
name="Salt Master"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net
|
||||
after bootmisc
|
||||
}
|
11
pkg/alpine/salt-minion
Executable file
11
pkg/alpine/salt-minion
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/sbin/openrc-run
|
||||
command="/usr/bin/salt-minion"
|
||||
command_args="--daemon"
|
||||
pidfile="/var/run/salt-minion.pid"
|
||||
name="Salt Minion"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net
|
||||
after bootmisc
|
||||
}
|
11
pkg/alpine/salt-syndic
Executable file
11
pkg/alpine/salt-syndic
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/sbin/openrc-run
|
||||
command="/usr/bin/salt-syndic"
|
||||
command_args="--daemon"
|
||||
pidfile="/var/run/salt-syndic.pid"
|
||||
name="Salt Syndic"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net
|
||||
after bootmisc
|
||||
}
|
Loading…
Add table
Reference in a new issue