initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

20
cups/cupsd.initd Normal file
View File

@@ -0,0 +1,20 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Copyright 2019 Hyperbola Project
# Distributed under the terms of the GNU General Public License, v2 or later
description="The Common Unix Printing System service"
command="/usr/sbin/cupsd"
depend() {
use net
before nfs
after logger
}
start_pre() {
checkpath -q -d -m 0775 -o root:lp /var/cache/cups
checkpath -q -d -m 0775 -o root:lp /var/cache/cups/rss
checkpath -q -d -m 0755 -o root:lp /run/cups
checkpath -q -d -m 0511 -o daemon:sys /run/cups/certs
}