summarylogtreecommitdiffstats
path: root/pumpio.service
blob: 61ca12c48905391c162c7c7f3143de992711fc04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=pumpio
After=network.target

[Service]
Type=simple
WorkingDirectory=/usr/share/webapps/pumpio
User=pumpio
Group=pumpio
ExecStart=/usr/bin/node ./bin/pump -c /etc/webapps/pumpio/pump.io.json start
ExecStop=/usr/bin/node ./bin/pump -c /etc/webapps/pumpio/pump.io.json stop
Restart=always
SyslogIdentifier=pumpio

[Install]
WantedBy=multi-user.target