2017-11-24 13:56:15 -08:00
|
|
|
[Unit]
|
2017-11-28 13:46:56 -08:00
|
|
|
Description=oracles dashboard service
|
2017-11-24 13:56:15 -08:00
|
|
|
After=network.target
|
|
|
|
[Service]
|
|
|
|
User={{ username }}
|
|
|
|
Group={{ username }}
|
|
|
|
Environment=MYVAR=myval
|
2017-11-28 13:46:56 -08:00
|
|
|
WorkingDirectory=/home/{{ username }}/eth-netstats
|
|
|
|
Restart=always
|
|
|
|
ExecStart=/usr/bin/npm start
|
2017-11-24 13:56:15 -08:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|