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
parent
81690ca78e
commit
cd7b77ef31
|
@ -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…
Reference in New Issue