mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
0587b4321d
* Fix systemd unit * Fix linter __ENV_PATH__ is not used anymore * Auto-generated README * Fix change_url * Update GitHub templates
21 lines
418 B
Desktop File
21 lines
418 B
Desktop File
[Unit]
|
|
Description=CodiMD: collaborative Markdown notes
|
|
Documentation=https://github.com/hackmdio/codimd
|
|
After=network.target postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__
|
|
Environment="NODE_ENV=production"
|
|
Environment="__YNH_NODE_LOAD_PATH__"
|
|
ExecStart=__YNH_NODE__ app.js
|
|
Restart=always
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
|