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

20 lines
420 B
SYSTEMD
Raw Normal View History

2018-11-21 19:55:53 +01:00
[Unit]
2020-06-22 18:33:34 +02:00
Description=CodiMD: collaborative Markdown notes
Documentation=https://github.com/codimd/server
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__
Environment="PATH=__ENV_PATH__"
2019-11-28 02:05:34 +01:00
Environment="NODE_ENV=production"
2020-06-22 18:33:34 +02:00
ExecStart=__YNH_NPM__ start --production
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