[Unit] Description=Dodo Transfer Documentation=https://git.dodo-lab.kr/blue2rai/DodoTransfer After=network.target [Service] Type=simple User=dodo-transfer Restart=on-failure Environment=NODE_ENV=production Environment=PSITRANSFER_PORT=8080 Environment=PSITRANSFER_UPLOAD_DIR=/var/lib/dodo-transfer # passwords: PSITRANSFER_ADMIN_PASS, PSITRANSFER_UPLOAD_PASS EnvironmentFile=-/etc/dodo-transfer.env StateDirectory=dodo-transfer WorkingDirectory=/opt/dodo-transfer ExecStart=/usr/bin/node app.js [Install] WantedBy=multi-user.target