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 e79f96204394e90aec19aafea3ac513231595650..359ff10e259d4af338504d9f01966f125cb2b885 100644 (file)
@@ -7,6 +7,7 @@
 
 [Unit]
 Description=Journal Remote Upload Service
 
 [Unit]
 Description=Journal Remote Upload Service
+After=network.target
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-upload \
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-upload \
@@ -18,4 +19,3 @@ WatchdogSec=20min
 
 [Install]
 WantedBy=multi-user.target
 
 [Install]
 WantedBy=multi-user.target
-After=network.target