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

18 lines
328 B
SYSTEMD
Raw Normal View History

2018-11-21 19:55:53 +01:00
[Unit]
2020-05-21 14:24:59 +02:00
Description=Collaborative Markdown notes
2020-05-21 12:49:24 +02:00
After=network.target
After=mysql.service
2018-11-21 19:55:53 +01:00
[Service]
Type=simple
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=/usr/bin/yarn 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