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
yalh76 746962bf02
Apply last example_ynh (#1)
* Apply last example_ynh

* fix db_user

* Fix service start
2020-06-13 16:12:37 +02:00

19 lines
367 B
Desktop File

[Unit]
Description=__APP__: collaborative Markdown notes
After=network.target
After=postgresql.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
Environment="NODE_ENV=production"
ExecStart=__YNH_NPM__ start
Restart=always
PrivateTmp=true
PrivateDevices=true
[Install]
WantedBy=multi-user.target