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

15 lines
257 B
Plaintext
Raw Normal View History

2018-04-09 21:28:36 +02:00
[Unit]
Description=HedgeDoc
2018-04-09 21:28:36 +02:00
After=network.target
[Service]
Environment=NODE_ENV=production
WorkingDirectory=/opt/hedgedoc-{{ hedgedoc_version }}
2018-04-09 21:28:36 +02:00
Type=simple
User=hackmd
2021-05-11 17:04:32 +02:00
ExecStart=/usr/bin/yarn start
2018-04-09 21:28:36 +02:00
Restart=on-failure
[Install]
WantedBy=multi-user.target