summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-09-21 10:35:59 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-09-21 10:36:12 +0200
commit3dbde04e29dfaf1ea68daa7e7ac995655395c1aa (patch)
tree210d17dc78961753f6b0953d83c37796853c7b31 /www-misc/shellinabox/files
parentnet-libs/gsoap: Removed old. (diff)
downloadgentoo-3dbde04e29dfaf1ea68daa7e7ac995655395c1aa.tar.gz
gentoo-3dbde04e29dfaf1ea68daa7e7ac995655395c1aa.tar.bz2
gentoo-3dbde04e29dfaf1ea68daa7e7ac995655395c1aa.zip
www-misc/shellinabox: add systemd support.
Gentoo-Bug: https://bugs.gentoo.org/586450 Package-Manager: portage-2.2.28
Diffstat (limited to 'www-misc/shellinabox/files')
-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
+