added runit scripts

This commit is contained in:
tomit4 2022-02-23 12:16:48 -08:00
parent 2e437cd329
commit c65de416de
81 changed files with 114 additions and 0 deletions

2
runit_scripts/mariadb/log/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec svlogd -tt /var/log/svlog/mariadb

View file

View file

@ -0,0 +1 @@
30457

View file

@ -0,0 +1 @@
run

Binary file not shown.

4
runit_scripts/mariadb/run Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
[ ! -d /run/mysqld ] && mkdir -p /run/mysqld
chown mysql:mysql /run/mysqld
exec chpst -u mysql:mysql mysqld --user=mysql 2>&1

View file

View file

@ -0,0 +1 @@
30458

View file

@ -0,0 +1 @@
run

Binary file not shown.