summaryrefslogtreecommitdiff
path: root/app/node-server.service
blob: 42c1e8ffc872f3408df32feddc39fbfec2f36fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Service]
ExecStart=/usr/bin/node /srv/http/appname/app.js
Restart=always
WorkingDirectory=/srv/http/appname
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=appname
User=alexis
Group=users
Environment=PORT=8080

[Install]
WantedBy=multi-user.target