summaryrefslogtreecommitdiff
path: root/www-misc/shellinabox/files/shellinaboxd.service
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-misc/shellinabox/files/shellinaboxd.service
reinit the tree, so we can have metadata
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 000000000000..1915b0ca924f
--- /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
+