Browse Source

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.
master
Pau Espin 4 years ago
committed by Harald Welte
parent
commit
cd7b77ef31
  1. 3
      gpsdate.service

3
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
Loading…
Cancel
Save