Skip to content

Commit 3c00d17

Browse files
nephrosOlf0
andauthored
[systemd] only run update timer on normal boot (#506)
* [systemd] only run update timer on normal boot Noticed that this is activated too early, e.g. when coming out of "actdead" mode. We really need to run only on a regularly booted system. * Fix a typo in qdoc * Use `PartOf=` instead of `After=` --------- Co-authored-by: olf <[email protected]>
1 parent 7db8c87 commit 3c00d17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/bin/patchmanager-daemon/systemd/checkForUpdates-org.SfietKonstantin.patchmanager.timer

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Description=Patchmanager check for updates timer
33
Requires=dbus.service
44
After=dbus.service
5+
PartOf=multi-user.target
56

67
[Timer]
78
Unit=checkForUpdates-org.SfietKonstantin.patchmanager.service

src/index.qdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
Calls can be issued this way, for example:
169169

170170
\badcode
171-
dbus-send --print-reply --system --dest=org.SfietKonstantin.patchmanager /org/SfietKonstantin/patchmanager org.SfietKonstantin.patchmanager.checkforUpdates
171+
dbus-send --print-reply --system --dest=org.SfietKonstantin.patchmanager /org/SfietKonstantin/patchmanager org.SfietKonstantin.patchmanager.checkForUpdates
172172
\endcode
173173

174174
\section2 Systemd System Units

0 commit comments

Comments
 (0)