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
ericgaspar 799f83af8c
Fix
2021-06-02 17:56:56 +02:00

20 lines
417 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="PATH=__ENV_PATH__"
Environment="NODE_ENV=production"
ExecStart=node app.js
#__YNH_NPM__
Restart=always
PrivateTmp=true
PrivateDevices=true
[Install]
WantedBy=multi-user.target