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

15 lines
289 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
2020-12-28 17:53:02 +01:00
WorkingDirectory=/opt/hedgedoc-{{ hackmd_version }}
2018-04-09 21:28:36 +02:00
Type=simple
User=hackmd
2020-12-28 17:53:02 +01:00
ExecStart=/usr/bin/node /opt/hedgedoc-{{ hackmd_version }}/app.js
2018-04-09 21:28:36 +02:00
Restart=on-failure
[Install]
WantedBy=multi-user.target