summaryrefslogtreecommitdiffstats
path: root/abs/extra/shellinabox/shellinaboxd.service
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-08-13 22:31:04 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-08-13 22:31:04 (GMT)
commit7c242e44e6422be3d4cfffaaaa18cb78634762cb (patch)
tree43c0bc9e5d27532e52fa8416df3f0da8ec106f28 /abs/extra/shellinabox/shellinaboxd.service
parenteff28c03b7a81e9ee37cfd6dd9284deefd1b5622 (diff)
downloadlinhes_pkgbuild-7c242e44e6422be3d4cfffaaaa18cb78634762cb.zip
linhes_pkgbuild-7c242e44e6422be3d4cfffaaaa18cb78634762cb.tar.gz
linhes_pkgbuild-7c242e44e6422be3d4cfffaaaa18cb78634762cb.tar.bz2
shellinabox: initial inclusion
Diffstat (limited to 'abs/extra/shellinabox/shellinaboxd.service')
-rw-r--r--abs/extra/shellinabox/shellinaboxd.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra/shellinabox/shellinaboxd.service b/abs/extra/shellinabox/shellinaboxd.service
new file mode 100644
index 0000000..d92065b
--- /dev/null
+++ b/abs/extra/shellinabox/shellinaboxd.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Serve a login-terminal over http on port 4200.
+Required=sshd.service
+After=sshd.service
+
+[Service]
+User=root
+Type=forking
+EnvironmentFile=/etc/conf.d/shellinaboxd
+ExecStart=/usr/bin/shellinaboxd $SHELLINABOXD_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target
+