Version 1 (modified by 7 weeks ago) ( diff ) | ,
---|
Sample Mokou services
This was inspired by runit's sample run
scripts
Note: The majority of the entries listed here use daemonize as they would usually run in foreground otherwise
Note #2: Those as you can see, run on NetBSD
Jenkins
description=Build great things at any scale exec=/usr/pkg/sbin/daemonize /var/run/jenkins.pid /usr/bin/env JENKINS_HOME=/srv/http/jenkins /usr/pkg/java/openjdk17/bin/java -Xmx512m -jar /srv/http/jenkins/jenkins.war --httpPort=9090 --webroot=/srv/http/jenkins/war pidfile=/var/run/jenkins.pid user=www
Mai
description=Mai exec=/usr/pkg/sbin/daemonize -c /usr/pkg/share/mai -p /var/run/mai.pid /usr/pkg/bin/mai -f /usr/pkg/etc/mai.ini -u www -g www pidfile=/var/run/mai.pid
Marisa
description=Marisa 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
Solanum
description=IRCd full of bugs exec=/usr/pkg/bin/solanum -pidfile /var/run/solanum.pid user=irc pidfile=/var/run/solanum.pid
Suika
description=Suika exec=/usr/pkg/sbin/daemonize -p /var/run/suika.pid /usr/pkg/bin/suika --config /usr/pkg/etc/suika/config pidfile=/var/run/suika.pid user=irc
Symfony Framework Worker
description=Symfony worker for Postmill exec=/usr/pkg/sbin/daemonize -c /srv/http/postmill -p /var/run/symfony-messenger-worker.pid /usr/pkg/bin/php /srv/http/postmill/bin/console messenger:consume default --time-limit=3600 pidfile=/var/run/symfony-messenger-worker.pid user=www
Toyohime
description=Toyohime exec=/usr/pkg/sbin/daemonize -p /var/run/toyohime.pid /usr/pkg/bin/toyohime -index -nohealthz -listen 127.0.0.1:4600 marisa.chaotic.ninja /usr/pkg/etc/toyohime-repos pidfile=/var/run/toyohime.pid user=www
Yggstack
description=Yggstack exec=/usr/pkg/sbin/daemonize -p /var/run/yggstack.pid /usr/pkg/bin/yggstack -useconffile /usr/pkg/etc/yggdrasil.conf pidfile=/var/run/yggstack.pid
Yukari's Gap
description=Yukari's Gap exec=/usr/pkg/sbin/daemonize -p /var/run/yukari.pid /usr/pkg/bin/yukari -f /usr/pkg/etc/yukari.ini pidfile=/var/run/yukari.pid user=www
Note:
See TracWiki
for help on using the wiki.