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/systemd.service

26 lines
538 B
SYSTEMD
Raw Normal View History

2020-11-19 21:41:03 +01:00
[Unit]
Description=HedgeDoc: collaborative Markdown notes
Documentation=https://github.com/hedgedoc/hedgedoc
After=network.target postgresql.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
Environment="NODE_ENV=production"
ExecStart=__YNH_NPM__ start --production
Restart=always
PrivateTmp=true
PrivateDevices=true
2021-03-22 22:31:12 +01:00
ProtectControlGroups=true
ProtectHome=true
ProtectKernelTunables=true
ProtectSystem=full
RestrictSUIDSGID=true
2020-11-19 21:41:03 +01:00
[Install]
WantedBy=multi-user.target