From cd7b77ef311f317aac7a067308a94e46811a20f2 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 24 Jul 2017 18:37:35 +0200 Subject: [PATCH] gpsdate.service: Install correctly when service is enabled systemctl enable requires an Install section with some target to know how to set up correctly the service. --- gpsdate.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsdate.service b/gpsdate.service index 869f076..da4cb80 100644 --- a/gpsdate.service +++ b/gpsdate.service @@ -5,3 +5,6 @@ Description=Set time based on GPS Type=simple EnvironmentFile=/etc/default/gpsdate ExecStart=/usr/sbin/gpsdate --no-detach ${GPSDATE_HOST} ${GPSDATE_PORT} + +[Install] +WantedBy=multi-user.target