1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
codimd_ynh/conf/systemd.service
Tagada 0587b4321d
Level 7 (#59)
* Fix systemd unit

* Fix linter

__ENV_PATH__ is not used anymore

* Auto-generated README

* Fix change_url

* Update GitHub templates
2021-06-21 11:14:57 +02:00

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