commit 862127e270a06e16bad9815a5aba5ab9123fb996 Author: Shin'ya Minazuki Date: Fri Nov 28 03:06:41 2025 +0900 Yuki N. > COMMIT Signed-off-by: Shin'ya Minazuki diff --git a/README.md b/README.md new file mode 100644 index 0000000..1a5f144 --- /dev/null +++ b/README.md @@ -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) diff --git a/coredns.conf b/coredns.conf new file mode 100644 index 0000000..4cd8908 --- /dev/null +++ b/coredns.conf @@ -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 diff --git a/fsldap.conf b/fsldap.conf new file mode 100644 index 0000000..d855b32 --- /dev/null +++ b/fsldap.conf @@ -0,0 +1,2 @@ +exec=/usr/pkg/sbin/daemonize -p /var/run/fsldap.pid /usr/local/sbin/fsldap +pidfile=/var/run/fsldap.pid diff --git a/geomyidae.conf b/geomyidae.conf new file mode 100644 index 0000000..ae252b9 --- /dev/null +++ b/geomyidae.conf @@ -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 + diff --git a/gitea.conf b/gitea.conf new file mode 100644 index 0000000..aa066b6 --- /dev/null +++ b/gitea.conf @@ -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 diff --git a/gmid.conf b/gmid.conf new file mode 100644 index 0000000..d69c2b5 --- /dev/null +++ b/gmid.conf @@ -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 + diff --git a/marisa.conf b/marisa.conf new file mode 100644 index 0000000..a51f95c --- /dev/null +++ b/marisa.conf @@ -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 diff --git a/navidrome.conf b/navidrome.conf new file mode 100644 index 0000000..64bd1ca --- /dev/null +++ b/navidrome.conf @@ -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 + diff --git a/nexd.conf b/nexd.conf new file mode 100644 index 0000000..4548055 --- /dev/null +++ b/nexd.conf @@ -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 + diff --git a/ntfy.conf b/ntfy.conf new file mode 100644 index 0000000..46138c6 --- /dev/null +++ b/ntfy.conf @@ -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 + diff --git a/prosody-filer.conf b/prosody-filer.conf new file mode 100644 index 0000000..b88a3a2 --- /dev/null +++ b/prosody-filer.conf @@ -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 + diff --git a/saltyd.conf b/saltyd.conf new file mode 100644 index 0000000..f7a80d4 --- /dev/null +++ b/saltyd.conf @@ -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 + diff --git a/spsrv.conf b/spsrv.conf new file mode 100644 index 0000000..0ca32d0 --- /dev/null +++ b/spsrv.conf @@ -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 + diff --git a/suika.conf b/suika.conf new file mode 100644 index 0000000..5656e6b --- /dev/null +++ b/suika.conf @@ -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 + diff --git a/writefreely.conf b/writefreely.conf new file mode 100644 index 0000000..3a902c5 --- /dev/null +++ b/writefreely.conf @@ -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 + diff --git a/yarnd.conf b/yarnd.conf new file mode 100644 index 0000000..e86824a --- /dev/null +++ b/yarnd.conf @@ -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 diff --git a/yukari.conf b/yukari.conf new file mode 100644 index 0000000..cf44ea0 --- /dev/null +++ b/yukari.conf @@ -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