summarylogtreecommitdiffstats
path: root/systemd-cron.install
blob: 009edddcdd65bd9787665cd39171e338005827aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_post_install_or_upgrade() {
    touch run/crond.reboot
    touch run/crond.bootdir

    systemd-sysusers systemd-cron.conf

    chown root:crontab usr/lib/systemd-cron/crontab_setgid
    chmod 2755 usr/lib/systemd-cron/crontab_setgid

    chown root:crontab var/spool/cron
}

post_install() {
    _post_install_or_upgrade
}

post_upgrade() {
    _post_install_or_upgrade
}