Fix samba logging, hopefully finally!

This commit is contained in:
Darren 'Tadgy' Austin 2025-09-22 15:46:15 +00:00
commit 03d8ec939c
6 changed files with 128 additions and 10 deletions

View 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 $?
}