aboutsummaryrefslogtreecommitdiffstats
path: root/testing/unit/unit.confd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-07 14:19:58 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-07 14:32:55 +0200
commitf9bbb80e53c08d47ef2120b1e8e60e12f9c8f038 (patch)
treed2204c4d2d0a32e40d793fa8de71d5a5c120a130 /testing/unit/unit.confd
parent831ba5bb1c17ad245490643e73b0ce57e0ac585d (diff)
downloadaports-f9bbb80e53c08d47ef2120b1e8e60e12f9c8f038.tar.bz2
aports-f9bbb80e53c08d47ef2120b1e8e60e12f9c8f038.tar.xz
testing/unit: add init script
Diffstat (limited to 'testing/unit/unit.confd')
-rw-r--r--testing/unit/unit.confd22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/unit/unit.confd b/testing/unit/unit.confd
new file mode 100644
index 0000000000..bf3bf15856
--- /dev/null
+++ b/testing/unit/unit.confd
@@ -0,0 +1,22 @@
+# Configuration for /etc/init.d/unit
+
+# Address of the control API socket.
+# If you want to use saveconfig and loadconfig (see below),
+# it must be a unix socket.
+#control_socket="unix:/run/unit.control.sock"
+
+# Path of the log file.
+#logfile="/var/log/unit.log"
+
+# Path of the state directory.
+#statedir="/var/lib/unit"
+
+# Path where the init script will save Unit's configuration when you run
+# `rc-service unit saveconfig` or load the configuration on loadconfig.
+#config_file="/etc/unit/config.json"
+
+# Load configuration from $config_file on start (if exists)?
+#config_load_on_start="no"
+
+# Save configuration to $config_file on stop?
+#config_save_on_stop="no"