chore(dnf): Add --system for optfix service activation & readability

This commit is contained in:
fiftydinar 2025-05-21 17:57:32 +02:00 committed by GitHub
parent 719fd97cad
commit 308f78b7fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -376,7 +376,7 @@ def run_optfix [$optfix_pkgs: list]: nothing -> nothing {
cp ($MODULE_DIR | path join $SERV_UNIT) $'($SYSTEMD_DIR)/'
try {
^systemctl enable $SERV_UNIT
^systemctl --system enable $SERV_UNIT
} catch {
exit 1
}