diff --git a/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.service b/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.service index b93fe92c04ed..b03c6a9551c0 100644 --- a/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.service +++ b/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.service @@ -12,3 +12,6 @@ Restart=on-failure RestartSec=10 TimeoutStopSec=3 +[Install] +WantedBy=sonic.target + diff --git a/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.timer b/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.timer deleted file mode 100644 index e0458ff326f5..000000000000 --- a/src/sonic-host-services-data/debian/sonic-host-services-data.aaastatsd.timer +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Delays aaastatsd daemon until SONiC has started -PartOf=aaastatsd.service - -[Timer] -OnActiveSec=1min 30 sec -Unit=aaastatsd.service - -[Install] -WantedBy=timers.target sonic.target - diff --git a/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.service b/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.service index 5e2434527124..4adf2aba77ad 100644 --- a/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.service +++ b/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.service @@ -9,3 +9,6 @@ After=sonic.target Type=simple ExecStart=/usr/local/bin/hostcfgd +[Install] +WantedBy=sonic.target + diff --git a/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.timer b/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.timer deleted file mode 100644 index baf80f4b4cbd..000000000000 --- a/src/sonic-host-services-data/debian/sonic-host-services-data.hostcfgd.timer +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Delays hostcfgd daemon until SONiC has started -PartOf=hostcfgd.service - -[Timer] -OnActiveSec=1min 30 sec -Unit=hostcfgd.service - -[Install] -WantedBy=timers.target sonic.target -