sonic-buildimage/files/image_config/hostname/hostname-config.service

12 lines
202 B
SYSTEMD
Raw Normal View History

2017-12-12 22:07:42 -06:00
[Unit]
Description=Update hostname based on configdb
Requires=database.service
After=database.service
[Service]
Type=oneshot
ExecStart=/usr/bin/hostname-config.sh
[Install]
WantedBy=multi-user.target