12 lines
202 B
SYSTEMD
12 lines
202 B
SYSTEMD
|
[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
|