Fix samba logging, hopefully finally!
This commit is contained in:
parent
e792992cfb
commit
03d8ec939c
6 changed files with 128 additions and 10 deletions
19
etc/init.d/terraform-http-backend
Executable file
19
etc/init.d/terraform-http-backend
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after firewall
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting terraform-http-backend"
|
||||
source /etc/conf.d/terraform-http-backend || eend 1
|
||||
su "$TF_USER" -c "/opt/sbin/terraform-http-backend &" || eend 1
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping terraform-http-backend"
|
||||
busybox killall -TERM terraform-http-backend
|
||||
eend $?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue