1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hedgedoc_ynh.git synced 2024-09-03 19:25:52 +02:00
hedgedoc_ynh/conf/backend.service
tituspijean 23819b78d5 Initial work on HedgeDoc v2
- Project split into backend and frontend
- Relevant services and configuration files created

Status:
- can be cleanly installed and removed.
- services start but the frontend gets caught in the SSO somewhere
2021-06-20 23:36:24 +02:00

25 lines
541 B
Desktop File

[Unit]
Description=HedgeDoc: collaborative Markdown notes backend
Documentation=https://github.com/hedgedoc/hedgedoc
After=network.target postgresql.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/backend
Environment="PATH=__ENV_PATH__"
Environment="NODE_ENV=production"
ExecStart=__YNH_NPM__ start
Restart=always
PrivateTmp=true
PrivateDevices=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelTunables=true
ProtectSystem=full
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target