diff options
Diffstat (limited to 'src/lib/source/system')
62 files changed, 189 insertions, 0 deletions
diff --git a/src/lib/source/system/admin/greetd-srv/dependencies.d/mount-run b/src/lib/source/system/admin/greetd-srv/dependencies.d/mount-run new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/admin/greetd-srv/dependencies.d/mount-run diff --git a/src/lib/source/system/admin/greetd-srv/dependencies.d/seat-manager b/src/lib/source/system/admin/greetd-srv/dependencies.d/seat-manager new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/admin/greetd-srv/dependencies.d/seat-manager diff --git a/src/lib/source/system/admin/greetd-srv/dependencies.d/udev b/src/lib/source/system/admin/greetd-srv/dependencies.d/udev new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/admin/greetd-srv/dependencies.d/udev diff --git a/src/lib/source/system/admin/greetd-srv/producer-for b/src/lib/source/system/admin/greetd-srv/producer-for new file mode 100644 index 0000000..2c128e2 --- /dev/null +++ b/src/lib/source/system/admin/greetd-srv/producer-for @@ -0,0 +1 @@ +greetd-log diff --git a/src/lib/source/system/admin/greetd-srv/run b/src/lib/source/system/admin/greetd-srv/run new file mode 100644 index 0000000..e5411fc --- /dev/null +++ b/src/lib/source/system/admin/greetd-srv/run @@ -0,0 +1,8 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://sr.ht/~kennylevinsen/greetd/ + +fdmove -c 2 1 + +greetd diff --git a/src/lib/source/system/admin/greetd-srv/type b/src/lib/source/system/admin/greetd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/admin/greetd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/admin/seatd-srv/dependencies.d/mount-dev b/src/lib/source/system/admin/seatd-srv/dependencies.d/mount-dev new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/admin/seatd-srv/dependencies.d/mount-dev diff --git a/src/lib/source/system/admin/seatd-srv/dependencies.d/mount-run b/src/lib/source/system/admin/seatd-srv/dependencies.d/mount-run new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/admin/seatd-srv/dependencies.d/mount-run diff --git a/src/lib/source/system/admin/seatd-srv/notification-fd b/src/lib/source/system/admin/seatd-srv/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/src/lib/source/system/admin/seatd-srv/notification-fd @@ -0,0 +1 @@ +3 diff --git a/src/lib/source/system/admin/seatd-srv/producer-for b/src/lib/source/system/admin/seatd-srv/producer-for new file mode 100644 index 0000000..c2c15c5 --- /dev/null +++ b/src/lib/source/system/admin/seatd-srv/producer-for @@ -0,0 +1 @@ +seatd-log diff --git a/src/lib/source/system/admin/seatd-srv/run b/src/lib/source/system/admin/seatd-srv/run new file mode 100644 index 0000000..a1101bf --- /dev/null +++ b/src/lib/source/system/admin/seatd-srv/run @@ -0,0 +1,13 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://sr.ht/~kennylevinsen/seatd/ + +fdmove -c 2 1 + +if { s6-svperms -g video -E video . } + +seatd + -n3 + -u root + -g seat diff --git a/src/lib/source/system/admin/seatd-srv/type b/src/lib/source/system/admin/seatd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/admin/seatd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/bundle/default/type b/src/lib/source/system/bundle/default/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/default/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/bundle/firewall/type b/src/lib/source/system/bundle/firewall/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/firewall/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/bundle/mount/type b/src/lib/source/system/bundle/mount/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/mount/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/bundle/networking/type b/src/lib/source/system/bundle/networking/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/networking/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/bundle/seat-manager/type b/src/lib/source/system/bundle/seat-manager/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/seat-manager/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/bundle/system-bus/type b/src/lib/source/system/bundle/system-bus/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/system-bus/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/bundle/udev/type b/src/lib/source/system/bundle/udev/type new file mode 100644 index 0000000..757b422 --- /dev/null +++ b/src/lib/source/system/bundle/udev/type @@ -0,0 +1 @@ +bundle diff --git a/src/lib/source/system/cron/dcron-srv/producer-for b/src/lib/source/system/cron/dcron-srv/producer-for new file mode 100644 index 0000000..742632d --- /dev/null +++ b/src/lib/source/system/cron/dcron-srv/producer-for @@ -0,0 +1 @@ +dcron-log diff --git a/src/lib/source/system/cron/dcron-srv/run b/src/lib/source/system/cron/dcron-srv/run new file mode 100644 index 0000000..cd8101d --- /dev/null +++ b/src/lib/source/system/cron/dcron-srv/run @@ -0,0 +1,13 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# http://www.jimpryor.net/linux/dcron.html + +# Will only work with the new fork (version 4.6 or newer) +# https://github.com/ptchinster/dcron +# See issue https://github.com/dubiousjim/dcron/issues/13 + +fdmove -c 2 1 + +crond + -f diff --git a/src/lib/source/system/cron/dcron-srv/type b/src/lib/source/system/cron/dcron-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/cron/dcron-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/db/mariadbd-srv/producer-for b/src/lib/source/system/db/mariadbd-srv/producer-for new file mode 100644 index 0000000..4e3f057 --- /dev/null +++ b/src/lib/source/system/db/mariadbd-srv/producer-for @@ -0,0 +1 @@ +mariadbd-log diff --git a/src/lib/source/system/db/mariadbd-srv/run b/src/lib/source/system/db/mariadbd-srv/run new file mode 100644 index 0000000..25408cf --- /dev/null +++ b/src/lib/source/system/db/mariadbd-srv/run @@ -0,0 +1,8 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://mariadb.org/ + +fdmove -c 2 1 + +mariadbd diff --git a/src/lib/source/system/db/mariadbd-srv/type b/src/lib/source/system/db/mariadbd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/db/mariadbd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/db/mysqld-srv/producer-for b/src/lib/source/system/db/mysqld-srv/producer-for new file mode 100644 index 0000000..031e008 --- /dev/null +++ b/src/lib/source/system/db/mysqld-srv/producer-for @@ -0,0 +1 @@ +mysqld-log diff --git a/src/lib/source/system/db/mysqld-srv/run b/src/lib/source/system/db/mysqld-srv/run new file mode 100644 index 0000000..b3fe24f --- /dev/null +++ b/src/lib/source/system/db/mysqld-srv/run @@ -0,0 +1,8 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://www.mysql.com/ + +fdmove -c 2 1 + +mysqld diff --git a/src/lib/source/system/db/mysqld-srv/type b/src/lib/source/system/db/mysqld-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/db/mysqld-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/net/dhcpcd-srv/dependencies.d/udev b/src/lib/source/system/net/dhcpcd-srv/dependencies.d/udev new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/net/dhcpcd-srv/dependencies.d/udev diff --git a/src/lib/source/system/net/dhcpcd-srv/producer-for b/src/lib/source/system/net/dhcpcd-srv/producer-for new file mode 100644 index 0000000..a8b3dd1 --- /dev/null +++ b/src/lib/source/system/net/dhcpcd-srv/producer-for @@ -0,0 +1 @@ +dhcpcd-log diff --git a/src/lib/source/system/net/dhcpcd-srv/run b/src/lib/source/system/net/dhcpcd-srv/run new file mode 100644 index 0000000..1da5b0c --- /dev/null +++ b/src/lib/source/system/net/dhcpcd-srv/run @@ -0,0 +1,9 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://roy.marples.name/projects/dhcpcd + +fdmove -c 2 1 + +dhcpcd + -B diff --git a/src/lib/source/system/net/dhcpcd-srv/type b/src/lib/source/system/net/dhcpcd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/net/dhcpcd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/net/wpa_supplicant-srv/dependencies.d/system-bus b/src/lib/source/system/net/wpa_supplicant-srv/dependencies.d/system-bus new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/net/wpa_supplicant-srv/dependencies.d/system-bus diff --git a/src/lib/source/system/net/wpa_supplicant-srv/producer-for b/src/lib/source/system/net/wpa_supplicant-srv/producer-for new file mode 100644 index 0000000..17413d8 --- /dev/null +++ b/src/lib/source/system/net/wpa_supplicant-srv/producer-for @@ -0,0 +1 @@ +wpa_supplicant-log diff --git a/src/lib/source/system/net/wpa_supplicant-srv/run b/src/lib/source/system/net/wpa_supplicant-srv/run new file mode 100644 index 0000000..5585590 --- /dev/null +++ b/src/lib/source/system/net/wpa_supplicant-srv/run @@ -0,0 +1,10 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://w1.fi/wpa_supplicant/ + +fdmove -c 2 1 + +wpa_supplicant + -c /etc/wpa_supplicant/wpa_supplicant.conf + -g /run/wpa_supplicant diff --git a/src/lib/source/system/net/wpa_supplicant-srv/type b/src/lib/source/system/net/wpa_supplicant-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/net/wpa_supplicant-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/ntp/chronyd-srv/dependencies.d/networking b/src/lib/source/system/ntp/chronyd-srv/dependencies.d/networking new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/ntp/chronyd-srv/dependencies.d/networking diff --git a/src/lib/source/system/ntp/chronyd-srv/producer-for b/src/lib/source/system/ntp/chronyd-srv/producer-for new file mode 100644 index 0000000..d1c93e7 --- /dev/null +++ b/src/lib/source/system/ntp/chronyd-srv/producer-for @@ -0,0 +1 @@ +chronyd-log diff --git a/src/lib/source/system/ntp/chronyd-srv/run b/src/lib/source/system/ntp/chronyd-srv/run new file mode 100644 index 0000000..5991339 --- /dev/null +++ b/src/lib/source/system/ntp/chronyd-srv/run @@ -0,0 +1,12 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://chrony-project.org/ + +fdmove -c 2 1 + +chronyd + -d + -u ntp + -f /etc/chrony/chrony.conf + -F 2 diff --git a/src/lib/source/system/ntp/chronyd-srv/type b/src/lib/source/system/ntp/chronyd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/ntp/chronyd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/other/cupsd-srv/producer-for b/src/lib/source/system/other/cupsd-srv/producer-for new file mode 100644 index 0000000..7a53450 --- /dev/null +++ b/src/lib/source/system/other/cupsd-srv/producer-for @@ -0,0 +1 @@ +cupsd-log diff --git a/src/lib/source/system/other/cupsd-srv/run b/src/lib/source/system/other/cupsd-srv/run new file mode 100644 index 0000000..f9d84cd --- /dev/null +++ b/src/lib/source/system/other/cupsd-srv/run @@ -0,0 +1,11 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://www.cups.org/ + +fdmove -c 2 1 + +cupsd + -f + -c /etc/cups/cupsd.conf + -s /etc/cups/cups-files.conf diff --git a/src/lib/source/system/other/cupsd-srv/type b/src/lib/source/system/other/cupsd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/other/cupsd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/other/dbus-daemon-srv/notification-fd b/src/lib/source/system/other/dbus-daemon-srv/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/src/lib/source/system/other/dbus-daemon-srv/notification-fd @@ -0,0 +1 @@ +3 diff --git a/src/lib/source/system/other/dbus-daemon-srv/producer-for b/src/lib/source/system/other/dbus-daemon-srv/producer-for new file mode 100644 index 0000000..f967dcb --- /dev/null +++ b/src/lib/source/system/other/dbus-daemon-srv/producer-for @@ -0,0 +1 @@ +dbus-daemon-log diff --git a/src/lib/source/system/other/dbus-daemon-srv/run b/src/lib/source/system/other/dbus-daemon-srv/run new file mode 100644 index 0000000..73c44b6 --- /dev/null +++ b/src/lib/source/system/other/dbus-daemon-srv/run @@ -0,0 +1,15 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://www.freedesktop.org/wiki/Software/dbus/ + +fdmove -c 2 1 + +foreground { dbus-uuidgen --ensure=/etc/machine-id } +foreground { install -m755 -g 81 -o 81 -d /run/dbus } + +dbus-daemon + --system + --nofork + --nopidfile + --print-pid=3 diff --git a/src/lib/source/system/other/dbus-daemon-srv/type b/src/lib/source/system/other/dbus-daemon-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/other/dbus-daemon-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/other/sshd-srv/dependencies.d/networking b/src/lib/source/system/other/sshd-srv/dependencies.d/networking new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/other/sshd-srv/dependencies.d/networking diff --git a/src/lib/source/system/other/sshd-srv/producer-for b/src/lib/source/system/other/sshd-srv/producer-for new file mode 100644 index 0000000..b8ef8c5 --- /dev/null +++ b/src/lib/source/system/other/sshd-srv/producer-for @@ -0,0 +1 @@ +sshd-log diff --git a/src/lib/source/system/other/sshd-srv/run b/src/lib/source/system/other/sshd-srv/run new file mode 100644 index 0000000..6282b83 --- /dev/null +++ b/src/lib/source/system/other/sshd-srv/run @@ -0,0 +1,17 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://www.openssh.com/ + +fdmove -c 2 1 + +foreground { /bin/ssh-keygen -A } + +ifelse -n { /bin/sshd -t } +{ + exit 125 +} + +/bin/sshd + -D + -e diff --git a/src/lib/source/system/other/sshd-srv/type b/src/lib/source/system/other/sshd-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/other/sshd-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/web/gate-srv/dependencies.d/udev b/src/lib/source/system/web/gate-srv/dependencies.d/udev new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/web/gate-srv/dependencies.d/udev diff --git a/src/lib/source/system/web/gate-srv/producer-for b/src/lib/source/system/web/gate-srv/producer-for new file mode 100644 index 0000000..7679182 --- /dev/null +++ b/src/lib/source/system/web/gate-srv/producer-for @@ -0,0 +1 @@ +gate-log diff --git a/src/lib/source/system/web/gate-srv/run b/src/lib/source/system/web/gate-srv/run new file mode 100644 index 0000000..af410c2 --- /dev/null +++ b/src/lib/source/system/web/gate-srv/run @@ -0,0 +1,9 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://gate.minekube.com/ + +fdmove -c 2 1 + +gate + -c /etc/gate.yml diff --git a/src/lib/source/system/web/gate-srv/type b/src/lib/source/system/web/gate-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/web/gate-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/web/nginx-srv/producer-for b/src/lib/source/system/web/nginx-srv/producer-for new file mode 100644 index 0000000..307d740 --- /dev/null +++ b/src/lib/source/system/web/nginx-srv/producer-for @@ -0,0 +1 @@ +nginx-log diff --git a/src/lib/source/system/web/nginx-srv/run b/src/lib/source/system/web/nginx-srv/run new file mode 100644 index 0000000..6336aa7 --- /dev/null +++ b/src/lib/source/system/web/nginx-srv/run @@ -0,0 +1,9 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://nginx.org/ + +fdmove -c 2 1 + +nginx + -g "daemon off;error_log stderr info;user nginx;" diff --git a/src/lib/source/system/web/nginx-srv/type b/src/lib/source/system/web/nginx-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/web/nginx-srv/type @@ -0,0 +1 @@ +longrun diff --git a/src/lib/source/system/web/radicale-srv/dependencies.d/mount b/src/lib/source/system/web/radicale-srv/dependencies.d/mount new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/web/radicale-srv/dependencies.d/mount diff --git a/src/lib/source/system/web/radicale-srv/producer-for b/src/lib/source/system/web/radicale-srv/producer-for new file mode 100644 index 0000000..ed237cc --- /dev/null +++ b/src/lib/source/system/web/radicale-srv/producer-for @@ -0,0 +1 @@ +radicale-log diff --git a/src/lib/source/system/web/radicale-srv/run b/src/lib/source/system/web/radicale-srv/run new file mode 100644 index 0000000..f2005d5 --- /dev/null +++ b/src/lib/source/system/web/radicale-srv/run @@ -0,0 +1,10 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://radicale.org/v3.html + +fdmove -c 2 1 + +s6-setuidgid radicale + +radicale diff --git a/src/lib/source/system/web/radicale-srv/type b/src/lib/source/system/web/radicale-srv/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/src/lib/source/system/web/radicale-srv/type @@ -0,0 +1 @@ +longrun |
