forked from infra/ansible
15 lines
281 B
Django/Jinja
15 lines
281 B
Django/Jinja
[Unit]
|
|
Description=HackMD
|
|
After=network.target
|
|
|
|
[Service]
|
|
Environment=NODE_ENV=production
|
|
WorkingDirectory=/opt/hackmd-{{hackmd_version}}
|
|
Type=simple
|
|
User=hackmd
|
|
ExecStart=/usr/bin/node /opt/hackmd-{{hackmd_version}}/app.js
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|