...
"skinName": "colibris",
...
"ip": "10.2.0.3",
"port": 9001,
...
/*
"dbType": "dirty",
"dbSettings": {
"filename": "var/dirty.db"
},
*/
...
"dbType" : "mysql",
"dbSettings" : {
"user": "XXXXXXXX",
"host": "10.3.0.100",
"port": 3306,
"password": "XXXXXXXXX",
"database": "etherpadlite",
"charset": "utf8mb4"
},
...
"trustProxy": true,
...
[Unit] Description=Etherpad - real-time collaborative editor Documentation=https://etherpad.org https://github.com/ether/etherpad After=network-online.target Wants=network-online.target [Service] Type=simple User=etherpad Group=etherpad WorkingDirectory=/opt/etherpad-lite Environment=NODE_ENV=production ExecStart=pnpm run prod Restart=on-failure RestartSec=5s TimeoutStopSec=20s StandardOutput=journal StandardError=journal SyslogIdentifier=etherpad # --- Sandboxing --------------------------------------------------------- NoNewPrivileges=true ProtectSystem=strict PrivateTmp=true PrivateDevices=true ProtectKernelTunables=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true ProtectHostname=true ProtectClock=true RestrictRealtime=true RestrictSUIDSGID=true RestrictNamespaces=true LockPersonality=true # Node's JIT needs W+X mappings MemoryDenyWriteExecute=false SystemCallArchitectures=native RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK UMask=0027 ReadWritePaths=/opt/etherpad-lite LimitNOFILE=65536 [Install] WantedBy=multi-user.target
... source_directories: - /etc - /home - /opt - /root - /var/log ...