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
|
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
|