18 lines
356 B
SYSTEMD
18 lines
356 B
SYSTEMD
[Unit]
|
|
Description=Cryptalk Node.js App
|
|
Documentation=https://github.com/Hexagon/cryptalk
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/npm run start
|
|
WorkingDirectory=/home/cryptochat/cryptalk
|
|
Restart=always
|
|
RestartSec=10
|
|
Environment=NODE_ENV=production
|
|
Environment=PATH=/usr/bin
|
|
User=cryptochat
|
|
Group=cryptochat
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|