From a7b59a951b5b884bb2ba0fd1105918d2d5150fcd Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:34:32 +0200 Subject: Initial Systemd Service Run: 1/3 Signed-off-by: Georg --- systemd/ssh-chat_lc_libcasa.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/ssh-chat_lc_libcasa.service (limited to 'systemd/ssh-chat_lc_libcasa.service') diff --git a/systemd/ssh-chat_lc_libcasa.service b/systemd/ssh-chat_lc_libcasa.service new file mode 100644 index 0000000..c662b36 --- /dev/null +++ b/systemd/ssh-chat_lc_libcasa.service @@ -0,0 +1,15 @@ +[Unit] +Description=ssh-chat LibertaCasa lucy +After=network.target + +[Service] +Type=simple +User=ssh-chat +Group=ssh-chat + +ExecStart=/opt/ssh-chat/ssh-chat --bind=":2220" -i="/opt/ssh-chat/.ssh/id_rsa" --admin="/etc/ssh/keys/ssh-chat" motd="" +AmbientCapabilities=CAP_NET_BIND_SERVICE +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3