chiark / gitweb /
systemd-journal-upload: fix invalid After=
authorMarius Tessmann <mus.svz@gmail.com>
Thu, 28 Aug 2014 20:01:46 +0000 (22:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Aug 2014 22:06:02 +0000 (18:06 -0400)
After= belongs into [Unit], not [Install]. Found with systemd-analyze
verify.

units/systemd-journal-upload.service.in

index e79f962..359ff10 100644 (file)
@@ -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