ansible/roles/hackmd/templates/hackmd.service.j2

14 lines
233 B
Plaintext
Raw Normal View History

2018-04-09 21:28:36 +02:00
[Unit]
Description=HackMD
After=network.target
[Service]
Environment=NODE_ENV=production
Type=simple
User=hackmd
ExecStart=/usr/bin/node /opt/hackmd-{{hackmd_version}}/app.js
Restart=on-failure
[Install]
WantedBy=multi-user.target