[Unit] Description=Update hostname based on configdb Requires=updategraph.service After=updategraph.service BindsTo=sonic.target After=sonic.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/hostname-config.sh [Install] WantedBy=sonic.target