mirror of
https://github.com/edu4rdshl/upcheck.git
synced 2026-07-18 07:34:51 +00:00
Before it commit you will get a error related to the Dbus activation because the service was trying to call it as root user but in a different session, the error is like 'Error(Dbus(D-Bus error: Server address of type unix was missing argument path or abstract (org.freedesktop.DBus.Error.BadAddress)'.
13 lines
263 B
Desktop File
13 lines
263 B
Desktop File
[Unit]
|
|
Description=Automatically check updates and send notifications via notify-rust
|
|
After=network-online.target
|
|
ConditionUser=!root
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/upcheck
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
|
|
[Install]
|
|
WantedBy=default.target
|