Finalizes Lts/Tests migration and RPM to DEB packaging port
This commit is contained in:
31 files changed
+1144
-540
No files matched your search
+31
@@ -0,0 +1,31 @@
|
||||
[Unit]
|
||||
Description=Legatus LTS Server Service
|
||||
Documentation=https://www.life-maps.de
|
||||
After=network.target postgresql.service
|
||||
Wants=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ctc_sv
|
||||
Group=ctc
|
||||
Environment="LD_LIBRARY_PATH=/opt/legatus/sv/lib"
|
||||
Environment="QT_QPA_PLATFORM=xcb"
|
||||
ExecStart=/opt/legatus/sv/bin/lts_sv
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=lts_sv
|
||||
|
||||
# Resource limits
|
||||
LimitNOFILE=65536
|
||||
LimitNPROC=4096
|
||||
|
||||
# Security hardening
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/opt/legatus/sv/var /opt/legatus/LOG
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user