path: root/unit.service
diff options
Diffstat (limited to 'unit.service')
1 files changed, 26 insertions, 0 deletions
diff --git a/unit.service b/unit.service
new file mode 100644
index 0000000..f888685
--- /dev/null
+++ b/unit.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" 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 /run/unit/"
+Description=NGINX Unit
+Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /run/unit/"
+ExecStart=/usr/sbin/unitd $UNITD_OPTIONS --no-daemon