summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/shellinabox/files/shellinaboxd.service')
-rw-r--r--www-misc/shellinabox/files/shellinaboxd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-misc/shellinabox/files/shellinaboxd.service b/www-misc/shellinabox/files/shellinaboxd.service
new file mode 100644
index 00000000000..1915b0ca924
--- /dev/null
+++ b/www-misc/shellinabox/files/shellinaboxd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Shell In A Box daemon
+Documentation=man:shellinaboxd(1)
+After=network.target nss-lookup.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/shellinaboxd
+WorkingDirectory=/usr/share/shellinabox-resources
+ExecStart=/usr/sbin/shellinaboxd ${SIAB_DISABLE_SSL} --port=${SIAB_HTTP_PORT} --user=${SIAB_USER} --group=${SIAB_GROUP} --service=${SIAB_SERVICE}
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+