[systemd-devel] [PATCH 3/3] systemd-journal-upload: fix invalid After=
Marius Tessmann
mus.svz at gmail.com
Thu Aug 28 13:01:46 PDT 2014
After= belongs into [Unit], not [Install]. Found with systemd-analyze
verify.
---
units/systemd-journal-upload.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in
index e79f962..359ff10 100644
--- a/units/systemd-journal-upload.service.in
+++ b/units/systemd-journal-upload.service.in
@@ -7,6 +7,7 @@
[Unit]
Description=Journal Remote Upload Service
+After=network.target
[Service]
ExecStart=@rootlibexecdir@/systemd-journal-upload \
@@ -18,4 +19,3 @@ WatchdogSec=20min
[Install]
WantedBy=multi-user.target
-After=network.target
--
2.1.0
More information about the systemd-devel
mailing list