blob: 2d65a7445cd3c383776b6907b8566fff0db40403 (
plain) (
tree)
|
|
# {{ ansible_managed }}
[Unit]
Description=PsiTransfer
After=syslog.target network.target
[Service]
Type=simple
User={{ upload_user }}
WorkingDirectory=/home/{{ upload_user }}/psitransfer
ExecStart=/usr/bin/node app.js
Environment=NODE_ENV=production PSITRANSFER_ADMIN_PASS="{{ upload_admin_password }}" PSITRANSFER_UPLOAD_PASS="{{ upload_password }}" PSITRANSFER_UPLOAD_DIR="{{ upload_dir }}"
Restart=always
[Install]
WantedBy=multi-user.target
|