upcheck/upcheck.service
Eduard Toloza ec818adc10 Fix Dbus error when using the systemd service.
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)'.
2019-03-27 02:59:19 -05:00

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