diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-21 17:43:52 -0400 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-21 17:43:52 -0400 |
commit | 4a2aa14e68b5b6b1b3c09e0b923178c7c98a671c (patch) | |
tree | 5e79e561563205356e0c53be1001703b962d918b /systemd | |
parent | 34c71d5c91fe98276496ded1cb14362aa8028712 (diff) |
Add a simple httpd
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/dashboard-httpd.service | 6 | ||||
-rw-r--r-- | systemd/dashboard-httpd.socket | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/systemd/dashboard-httpd.service b/systemd/dashboard-httpd.service new file mode 100644 index 0000000..17d45fa --- /dev/null +++ b/systemd/dashboard-httpd.service @@ -0,0 +1,6 @@ +[Unit] +Description=Dashboard HTTP server +Requires=dashboard-httpd.socket + +[Service] +ExecStart=/bin/sh -c '~/dashboard/bin/httpd' diff --git a/systemd/dashboard-httpd.socket b/systemd/dashboard-httpd.socket new file mode 100644 index 0000000..e49aac4 --- /dev/null +++ b/systemd/dashboard-httpd.socket @@ -0,0 +1,8 @@ +[Unit] +Description=Dashboard HTTP server + +[Socket] +ListenStream=41198 + +[Install] +WantedBy=sockets.target |