system/systemd/ssh-chat_lc_libcasa.service

16 lines
333 B
SYSTEMD
Raw Normal View History

[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