LOC-18 Deploy server with ansible
[LocalChat.git] / ansible / roles / localchat-server / templates / localchat.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=LocalChat
After=multi-user.target

[Service]
WorkingDirectory={{localchat_server_install_path}}
Type=idle
ExecStart=/usr/bin/python LocalChat.py
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target