2018-04-09 21:28:36 +02:00
|
|
|
[Unit]
|
2021-05-13 16:19:43 +02:00
|
|
|
Description=HedgeDoc
|
2018-04-09 21:28:36 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=NODE_ENV=production
|
2021-05-13 16:19:43 +02:00
|
|
|
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
|