Project

General

Profile

Statistics
| Branch: | Revision:

gdp-if / websocket-subscriber / gdp-ws.service @ master

History | View | Annotate | Download (411 Bytes)

1 bb35af9c Nitesh Mor
[Unit]
2
Description=GDP Websocket subscriber service
3
After=network-online.target
4
5
[Service]
6
Type=simple
7
; Following should be tweaked for individual environments
8
User=gdp
9
WorkingDirectory=/opt/gdp-if/websocket-subscriber
10
ExecStart=/usr/bin/python gdp-ws.py --port 9007
11
12
; Restart=always
13
; WatchdogSec=1800
14
StandardOutput=syslog
15
StandardError=inherit
16
SyslogIdentifier=gdp-ws
17
18
[Install]
19
WantedBy=multi-user.target