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
367 B
SYSTEMD
Raw Normal View History

2018-11-21 19:55:53 +01:00
[Unit]
2020-05-21 15:42:43 +02:00
Description=__APP__: collaborative Markdown notes
2020-05-21 12:49:24 +02:00
After=network.target
2020-05-23 09:14:00 +02:00
After=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"
ExecStart=__YNH_NPM__ start
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