17 Commits

Author SHA1 Message Date
9b135a47a3 openntpd: rename openntpd directory to ntpd 2025-08-13 17:06:56 -05:00
565b86838e syncthing-relaysrv: update for v2.0.0 2025-08-13 13:16:06 -05:00
dbaf33bf18 syncthing: update args for syncthing v2.0 2025-08-13 13:12:24 -05:00
370540d879 add ly 2024-08-24 09:54:16 -05:00
d6243bf426 nvidia-utils: fix conf 2024-08-13 18:12:25 -05:00
131347b788 install.sh: use sed instead of cut
Better fix for the avahi-daemon edge case than as opposed to forcing an
extra log directory. -srv should only ever be at the end.
2024-03-14 19:56:04 -05:00
bdc85eb6ac install.sh: also check log directory count 2024-03-14 19:37:31 -05:00
441ce81954 avahi: add custom logging service
Missed in the -log refactor
2024-03-14 19:24:57 -05:00
e43dbfc803 avahi-daemon-srv: add hostname dependency
Fixes a race condition reported on the forum.
2024-03-14 14:57:02 -05:00
Alexander
09a504e555 cpupower/up: fix up script
Several command line switches were missing and the if blocks need to be
wrapped by foreground calls.
2023-12-31 17:50:36 -06:00
8f5148af0d mailman-srv: sort of fix
Well it was definitely broken before at least.
2023-08-29 20:57:25 -05:00
Edmund Noble
ef91b7b77c containerd-srv: set ulimit like in docker-srv
Patch from IRC.
2023-08-28 16:19:48 -05:00
8cb0a36d34 lxdm: add dependencies on tmpfiles
Reported in IRC.
2023-08-04 10:05:41 -05:00
653ff33a52 install.sh: install the conf even if there is no log
It's possible for a service to not have a log service but still need a
conf file (wireguard). Be sure to install the file in this case.
2023-08-04 10:02:16 -05:00
32c68f886d install.sh: allow custom log directories
For those few services that deviate from the template.
2023-08-03 22:25:25 -05:00
333c555768 install.sh: allow custom .conf files
If found, the template one won't be installed.
2023-08-03 22:25:25 -05:00
596d587c13 refactor log and conf installation from template
Since most of the log services and conf files are exactly the same, use
a template instead with the install script to ease handling instead of
copy and pasting. The special cases will need individual handling.
2023-08-03 21:50:43 -05:00
1545 changed files with 86 additions and 2033 deletions

View File

@@ -1 +0,0 @@
acpid-srv

View File

@@ -1 +0,0 @@
acpid

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/acpid.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/acpid }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/acpid
}
foreground { install -d -o s6log -g s6log /run/log/acpid }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/acpid

View File

@@ -1 +0,0 @@
apache-srv

View File

@@ -1 +0,0 @@
apache

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
apcupsd-srv

View File

@@ -1 +0,0 @@
apcupsd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/apcupsd.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/apcupsd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/apcupsd
}
foreground { install -d -o s6log -g s6log /run/log/apcupsd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/apcupsd

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
atd-srv

View File

@@ -1 +0,0 @@
atd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/at.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/atd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/atd
}
foreground { install -d -o s6log -g s6log /run/log/atd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/atd

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
atftpd-srv

View File

@@ -1 +0,0 @@
atftpd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/atftp.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/atftpd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/atftpd
}
foreground { install -d -o s6log -g s6log /run/log/atftpd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/atftpd

View File

@@ -1 +0,0 @@
auditd-srv

View File

@@ -1 +0,0 @@
auditd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/audit.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/auditd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/auditd
}
foreground { install -d -o s6log -g s6log /run/log/auditd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/auditd

View File

@@ -1 +0,0 @@
autofs-srv

View File

@@ -1 +0,0 @@
autofs

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/autofs.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/autofs }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/autofs
}
foreground { install -d -o s6log -g s6log /run/log/autofs }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/autofs

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
avahi-daemon-srv

View File

@@ -1 +0,0 @@
avahi-daemon

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/avahi.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/avahi-daemon }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/avahi-daemon
}
foreground { install -d -o s6log -g s6log /run/log/avahi-daemon }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/avahi-daemon

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
bitlbee-srv

View File

@@ -1 +0,0 @@
bitlbee

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/bitlbee.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/bitlbee }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/bitlbee
}
foreground { install -d -o s6log -g s6log /run/log/bitlbee }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/bitlbee

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
bluetoothd-srv

View File

@@ -1 +0,0 @@
bluetoothd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/bluez.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/bluetoothd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/bluetoothd
}
foreground { install -d -o s6log -g s6log /run/log/bluetoothd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/bluetoothd

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
boinc-srv

View File

@@ -1 +0,0 @@
boinc

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/boinc.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/boinc }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/boinc
}
foreground { install -d -o s6log -g s6log /run/log/boinc }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/boinc

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
boltd-srv

View File

@@ -1 +0,0 @@
boltd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/bolt.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/boltd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/boltd
}
foreground { install -d -o s6log -g s6log /run/log/boltd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/boltd

View File

@@ -1 +0,0 @@
brltty-srv

View File

@@ -1 +0,0 @@
brltty

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/brltty.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/brltty }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/brltty
}
foreground { install -d -o s6log -g s6log /run/log/brltty }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/brltty

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
bumblebeed-srv

View File

@@ -1 +0,0 @@
bumblebeed

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/bumblebee.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/bumblebeed }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/bumblebeed
}
foreground { install -d -o s6log -g s6log /run/log/bumblebeed }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/bumblebeed

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
chronyd-srv

View File

@@ -1 +0,0 @@
chronyd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/chrony.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/chronyd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/chronyd
}
foreground { install -d -o s6log -g s6log /run/log/chronyd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/chronyd

View File

@@ -1 +0,0 @@
connmand-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
connmand

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/connman.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/connmand }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/connmand
}
foreground { install -d -o s6log -g s6log /run/log/connmand }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/connmand

View File

@@ -1 +0,0 @@
consul-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
consul

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/consul.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/consul }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/consul
}
foreground { install -d -o s6log -g s6log /run/log/consul }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/consul

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
containerd-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
containerd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/containerd.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/containerd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/containerd
}
foreground { install -d -o s6log -g s6log /run/log/containerd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/containerd

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
coturn-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
coturn

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/coturn.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/coturn }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/coturn
}
foreground { install -d -o s6log -g s6log /run/log/coturn }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/coturn

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1,20 +0,0 @@
#!/bin/execlineb -P
envfile /etc/default/cpupower
importas -uD "" governor governor
importas -uD "" min_freq min_freq
importas -uD "" max_freq max_freq
importas -uD "" freq freq
importas -uD "" mc_scheduler mc_scheduler
importas -uD "" smp_scheduler smp_scheduler
importas -uD "" perf_bias perf_bias
# frequency options
if -t { test ${governor} } cpupower frequency-set ${governor}
if -t { test ${min_freq} } cpupower frequency-set ${min_freq}
if -t { test ${max_freq} } cpupower frequency-set ${max_freq}
if -t { test ${freq} } cpupower frequency-set ${freq}
# cpu options
if -t { test ${mc_scheduler} } cpupower set ${mc_scheduler}
if -t { test ${smp_scheduler} } cpupower set ${smp_scheduler}
if -t { test ${perf_bias} } cpupower set ${perf_bias}

View File

@@ -1 +0,0 @@
saslauthd-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
saslauthd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/cyrus-sasl.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/saslauthd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/saslauthd
}
foreground { install -d -o s6log -g s6log /run/log/saslauthd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/saslauthd

View File

@@ -1 +0,0 @@
darkhttpd-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
darkhttpd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/darkhttpd.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/darkhttpd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/darkhttpd
}
foreground { install -d -o s6log -g s6log /run/log/darkhttpd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/darkhttpd

View File

@@ -1 +0,0 @@
dbus-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
dbus

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/dbus.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/dbus }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/dbus
}
foreground { install -d -o s6log -g s6log /run/log/dbus }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/dbus

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
3

View File

@@ -1,2 +0,0 @@
# This configures the directives used for s6-log in the log service.
DIRECTIVES="n3 s2000000 T"

View File

@@ -1 +0,0 @@
dmeventd-srv

View File

@@ -1 +0,0 @@
3

View File

@@ -1 +0,0 @@
dmeventd

View File

@@ -1,9 +0,0 @@
#!/bin/execlineb -P
envfile /etc/s6/config/device-mapper.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/dmeventd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/dmeventd
}
foreground { install -d -o s6log -g s6log /run/log/dmeventd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/dmeventd

View File

@@ -1 +0,0 @@
dhcpcd-srv

View File

@@ -1 +0,0 @@
3

Some files were not shown because too many files have changed in this diff Show More