summaryrefslogtreecommitdiff
path: root/examples/chat/nc-chatroom.service
diff options
context:
space:
mode:
Diffstat (limited to 'examples/chat/nc-chatroom.service')
-rw-r--r--examples/chat/nc-chatroom.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/chat/nc-chatroom.service b/examples/chat/nc-chatroom.service
new file mode 100644
index 0000000..8c3f359
--- /dev/null
+++ b/examples/chat/nc-chatroom.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Ncat chatroom
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/nc -vl --broker 127.0.0.1 7000
+User=nobody
+
+[Install]
+WantedBy=multi-user.target