BastionGuard/data/service/BastionGuard-ransomware-realtime-alert.service
specialworld83 f0f913a209 Release 2.0
2026-07-15 10:52:22 +02:00

39 lines
932 B
Desktop File

[Unit]
StartLimitIntervalSec=0
Description=BastionGuard Realtime Ransomware Alert GUI
Documentation=https://github.com/BastionGuard
After=graphical-session.target
Wants=graphical-session.target
# Garantisce che il desktop environment sia attivo
After=xdg-desktop-portal.service
[Service]
Type=simple
ExecStart=/usr/bin/BastionGuard-ransomware-realtime-alert
# Garantisce che erediti le variabili DISPLAY, DBUS, WAYLAND
# dall'ambiente della sessione grafica
Environment=QT_QPA_PLATFORM=wayland;xcb
# Per tutti i desktop environment (libera e sicura)
Environment=GDK_BACKEND=wayland,x11
# Permettiamo GUI + socket localhost
NoNewPrivileges=no
# MIGLIORE COMPATIBILITÀ
# (non blocca /proc rootless → fondamentale per Wayland)
ProtectSystem=no
ProtectHome=no
PrivateTmp=no
PrivateDevices=no
ProtectKernelTunables=no
ProtectKernelModules=no
ProtectKernelLogs=no
Restart=always
RestartSec=3s
[Install]
WantedBy=default.target