38 lines
911 B
Desktop File
38 lines
911 B
Desktop File
[Unit]
|
|
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=on-failure
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=default.target
|