Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 337 Bytes
[Unit]
Description=PsiTransfer
Documentation=https://github.com/psi-4ward/psitransfer
After=network.target
[Service]
Type=simple
User=psitransfer
Restart=on-failure
Environment=NODE_ENV=production
Environment=PSITRANSFER_PORT=8080
WorkingDirectory=/opt/psitransfer
ExecStart=/usr/bin/node app.js
[Install]
WantedBy=multi-user.target