1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git synced 2024-09-03 18:36:09 +02:00
etherpad_mypads_ynh/conf/systemd.service
ericgaspar a7a9c44193
Fix
2021-03-23 10:16:03 +01:00

24 lines
526 B
Desktop File

[Unit]
Description=Etherpad-lite, the collaborative editor.
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment=NODE_ENV=production
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__FINALPATH__/src/bin/run.sh
StandardOutput=append:/var/log/__APP__/etherpad.log
StandardError=inherit
Restart=always
#PrivateDevices=true
#ProtectControlGroups=true
#ProtectHome=true
#ProtectKernelTunables=true
#ProtectSystem=full
[Install]
WantedBy=multi-user.target