1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=NGINX Unit Wants=network-online.target After=network-online.target [Service] Type=forking PIDFile=/run/unit.pid EnvironmentFile=-/etc/sysconfig/unitd ExecStart=/usr/sbin/unitd $UNITD_OPTIONS ExecReload= [Install] WantedBy=multi-user.target