libkysdk-system/debian/libkysdk-logrotate.postinst

5 lines
146 B
Bash

#!/bin/bash
systemctl enable kysdk-logrotate.service
systemctl restart kysdk-logrotate.service
crontab /usr/lib/kysdk/kysdk-system/logrotate.cron