sonic-buildimage/files/image_config/logrotate/logrotate-config.service
Xincun Li f13081bfbd
Ensure that 'logrotate-config.service' is set as a dependency to start before 'logrotate.service'. (#17312)
* Ensure that 'logrotate-config.service' is set as a dependency to start before 'logrotate.service'.
2023-11-29 17:22:47 -08:00

14 lines
227 B
Desktop File

[Unit]
Description=Update logrotate configuration
Requires=updategraph.service
After=updategraph.service
[Service]
Type=oneshot
ExecStart=/usr/bin/logrotate-config.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target