summaryrefslogtreecommitdiffstats
path: root/abs/extra/shellinabox/shellinaboxd.service
diff options
context:
space:
mode:
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
+