diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-14 16:11:18 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-14 16:11:18 +0100 |
commit | 2fa59b25089bcaaa48781e636e58c4d6b184f49a (patch) | |
tree | a82b0052739c961a7516272e36ce07006d9463b0 /unit-debug.service | |
parent | ea0d9b9cb6c8b98edbff4f6f5c2fbcf9e136c27e (diff) |
F42: workaround /usr/sbin merged in /usr/bin
add unit-debug service
F42: workaround /usr/sbin merged in /usr/bin
add unit-debug service
Diffstat (limited to 'unit-debug.service')
-rw-r--r-- | unit-debug.service | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/unit-debug.service b/unit-debug.service new file mode 100644 index 0000000..12ec3db --- /dev/null +++ b/unit-debug.service @@ -0,0 +1,26 @@ +# Modifying this file in-place is not recommended, because changes +# will be overwritten during package upgrades. To customize the +# behaviour, run "systemctl edit unit-debug" to create an override unit. + +# For example, to change options given to the unitd binary at startup, +# create an override unit (as is done by systemctl edit) and enter +# the following: + +# [Service] +# Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid" + +[Unit] +Description=NGINX Unit +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /run/unit/unit.pid" +ExecStart=/usr/sbin/unitd-debug $UNITD_OPTIONS --no-daemon +ExecReload= +RuntimeDirectory=unit +RuntimeDirectoryMode=0755 + +[Install] +WantedBy=multi-user.target |