[Unit]
Description=SUPERGFX
StartLimitInterval=200
StartLimitBurst=2
Before=graphical.target
Before=multi-user.target
Before=display-manager.service
Before=nvidia-powerd.service

[Service]
Environment=IS_SERVICE=1
Environment=RUST_LOG=debug
ExecStart=/usr/bin/supergfxd
Restart=on-failure
Restart=always
RestartSec=1
Type=dbus
BusName=org.supergfxctl.Daemon
SELinuxContext=system_u:system_r:unconfined_t:s0
#SELinuxContext=system_u:object_r:modules_object_t:s0

[Install]
WantedBy=getty.target
