2018-11-21 19:55:53 +01:00
|
|
|
[Unit]
|
2020-06-22 18:33:34 +02:00
|
|
|
Description=CodiMD: collaborative Markdown notes
|
2021-05-08 11:59:03 +02:00
|
|
|
Documentation=https://github.com/hackmdio/codimd
|
2020-06-22 18:33:34 +02:00
|
|
|
After=network.target postgresql.service
|
2018-11-21 19:55:53 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2020-05-23 15:16:11 +02:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2018-11-21 19:59:44 +01:00
|
|
|
WorkingDirectory=__FINALPATH__
|
2019-11-28 02:05:34 +01:00
|
|
|
Environment="NODE_ENV=production"
|
2021-06-02 18:17:17 +02:00
|
|
|
ExecStart=__FINALPATH__ app.js
|
2018-11-21 19:55:53 +01:00
|
|
|
Restart=always
|
2020-05-21 12:49:24 +02:00
|
|
|
PrivateTmp=true
|
|
|
|
PrivateDevices=true
|
2018-11-21 19:55:53 +01:00
|
|
|
|
|
|
|
[Install]
|
2018-11-21 19:59:44 +01:00
|
|
|
WantedBy=multi-user.target
|
2021-06-02 18:17:17 +02:00
|
|
|
|
|
|
|
|