Yuki N. > COMMIT

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2025-11-28 03:06:41 +09:00
commit 862127e270
17 changed files with 49 additions and 0 deletions

7
README.md Normal file
View File

@@ -0,0 +1,7 @@
# immortal-phoenix
A collection of service units for the [mokou](https://svn2.nishi.boats/svn/mokou) process supervisor.
## Notes
Most of the units depend on an external program, named [daemonize](http://software.clapper.org/daemonize/) to run them in the background (including process identifier files).
Only tested in [NetBSD](https://netbsd.org)

2
coredns.conf Normal file
View File

@@ -0,0 +1,2 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/coredns.pid /usr/local/sbin/coredns -quiet -conf /usr/local/etc/Corefile -dns.port 53 -port 53
pidfile=/var/run/coredns.pid

2
fsldap.conf Normal file
View File

@@ -0,0 +1,2 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/fsldap.pid /usr/local/sbin/fsldap
pidfile=/var/run/fsldap.pid

3
geomyidae.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/geomyidae.pid /usr/pkg/bin/geomyidae -u geomyidae -g geomyidae -b /var/gopher -h laidback.moe -l /var/log/geomyidae.log
pidfile=/var/run/geomyidae.pid

2
gitea.conf Normal file
View File

@@ -0,0 +1,2 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/gitea.pid -u git /usr/local/sbin/gitea -w /usr/local/etc/gitea
pidfile=/var/run/gitea.pid

3
gmid.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/local/bin/gmid -P /var/run/gmid.pid -c /usr/local/etc/gmid.conf
pidfile=/var/run/gmid.pid

2
marisa.conf Normal file
View File

@@ -0,0 +1,2 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/marisa.pid /usr/pkg/bin/marisa -f /usr/pkg/etc/marisa.conf
pidfile=/var/run/marisa.pid

3
navidrome.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/navidrome.pid -u www /usr/local/bin/navidrome -a 127.0.0.1 --datafolder /var/db/navidrome
pidfile=/var/run/navidrome.pid

3
nexd.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/nexd.pid /usr/local/bin/nexd /var/nex
pidfile=/var/run/nexd.pid

3
ntfy.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -u www -p /var/run/ntfy.pid /usr/local/sbin/ntfy serve --config /usr/local/etc/ntfy/server.yml
pidfile=/var/run/ntfy.pid

3
prosody-filer.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/prosody-filer.pid -u www /usr/local/sbin/prosody-filer -config /usr/local/etc/prosody-filer.toml
pidfile=/var/run/prosody-filer.pid

3
saltyd.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -c /var/db/saltyd -u www -p /var/run/saltyd.pid /usr/local/sbin/saltyd -u https://shio.laidback.moe -p laidback.moe
pidfile=/var/run/saltyd.pid

3
spsrv.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/spsrv.pid /usr/local/bin/spsrv -c /usr/local/etc/spsrv.conf
pidfile=/var/run/spsrv.pid

3
suika.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/suika.pid -u irc /usr/pkg/bin/suika --config /usr/pkg/etc/suika/config
pidfile=/var/run/suika.pid

3
writefreely.conf Normal file
View File

@@ -0,0 +1,3 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/writefreely.pid -u www /usr/local/bin/writefreely -c /usr/local/etc/writefreely.ini
pidfile=/var/run/writefreely.pid

2
yarnd.conf Normal file
View File

@@ -0,0 +1,2 @@
exec=/usr/pkg/sbin/daemonize -c /var/db/yarnd -u www -p /var/run/yarnd.pid /usr/local/sbin/yarnd -u https://neko.laidback.moe -b 127.0.0.1:6446 --api-signing-key CLASSIFIED_INFORMATION --cookie-secret CLASSIFIED_INFORMATION --magiclink-secret CLASSIFIED_INFORMATION -A shinyoukai -E hostmaster@laidback.moe
pidfile=/var/run/yarnd.pid

2
yukari.conf Normal file
View File

@@ -0,0 +1,2 @@
exec=/usr/pkg/sbin/daemonize -p /var/run/yukari.pid -u www /usr/pkg/bin/yukari -f /usr/pkg/etc/yukari.ini
pidfile=/var/run/yukari.pid