Line 10: | Line 10: | ||
Add requires to cron to packages that do not depend on systemd | Add requires to cron to packages that do not depend on systemd | ||
Sample | |||
ackme.timer | |||
[Unit] | |||
Description=Ackme Sample Timer Unit | |||
BindTo=ackme.service | |||
[Timer] | |||
OnCalendar=daily | |||
ExecStart=/path/to/script | |||
[Install] | |||
WantedBy=basic.target | |||
[Unit] | |||
Description=ackme | |||
Documentation=man:ackmed(1) | |||
[Service] | |||
User=ackme | |||
ExecStart=/usr/bin/acmed --daemon | |||
[Install] | |||
WantedBy=multi-user.target | |||
=== Cron to Systemd migration === | === Cron to Systemd migration === |
Revision as of 17:46, 24 February 2013
Cron to Systemd Timer migration
Notes
Cron job that should be migrating should only be those that are in a package that already depends on systemd
Create packaging guidelines proposal regarding systemd time units with samples.
Should time units be bound to their corresponding service unit so they start and stop when unit is started?
Add requires to cron to packages that do not depend on systemd
Sample
ackme.timer
[Unit] Description=Ackme Sample Timer Unit BindTo=ackme.service
[Timer] OnCalendar=daily ExecStart=/path/to/script
[Install] WantedBy=basic.target
[Unit] Description=ackme Documentation=man:ackmed(1)
[Service] User=ackme ExecStart=/usr/bin/acmed --daemon
[Install] WantedBy=multi-user.target
Cron to Systemd migration
Package name | Bug Number | Port Status | Ready for Proven Packager | Proven Packager | Note |
amavisd-new | #N/A | Nobody |
No | Nobody | drop cron use tmpfile |
apt | #N/A | Nobody |
No | Nobody | |
arm4 | #N/A | Nobody |
No | Nobody | |
atop | #N/A | Nobody |
No | Nobody | |
bcfg2 | #N/A | Nobody |
No | Nobody | |
clement | #N/A | Nobody |
No | Nobody | |
cyrus-imap | #N/A | Nobody |
No | Nobody | |
dbmail | #N/A | Nobody |
No | Nobody | |
denyhosts | #N/A | Nobody |
No | Nobody | |
dspam | #N/A | Nobody |
No | Nobody | |
exim | #N/A | Nobody |
No | Nobody | |
fetch | #N/A | Nobody |
No | Nobody | |
freeipa-server | #N/A | Nobody |
No | Nobody | |
hylafax | #N/A | Nobody |
No | Nobody | |
inn | #N/A | Nobody |
No | Nobody | |
leafnode | #N/A | Nobody |
No | Nobody | |
ltsp-server | #N/A | Nobody |
No | Nobody | |
mailman | #N/A | Nobody |
No | Nobody | |
mcelog | #N/A | Nobody |
No | Nobody | |
mdadm | #N/A | Nobody |
No | Nobody | |
mldonkey-server | #N/A | Nobody |
No | Nobody | |
newscache | #N/A | Nobody |
No | Nobody | |
nsd | #N/A | Nobody |
No | Nobody | |
opendnssec | #N/A | Nobody |
No | Nobody | |
openvas-scanner | #N/A | Nobody |
No | Nobody | |
ovirt-engine | #N/A | Nobody |
No | Nobody | |
ovirt-node | #N/A | Nobody |
No | Nobody | |
polipo | #N/A | Nobody |
No | Nobody | |
sagator-core | #N/A | Nobody |
No | Nobody | |
sipwitch | #N/A | Nobody |
No | Nobody | |
spamassassin | #N/A | Nobody |
No | Nobody | |
squidGuard | #N/A | Nobody |
No | Nobody | |
subscription-manager | #N/A | Nobody |
No | Nobody | |
sysstat | #N/A | Nobody |
No | Nobody | |
vdsm-reg | #N/A | Nobody |
No | Nobody | |
vnstat | #N/A | Nobody |
No | Nobody | |
yum-cron | #N/A | Nobody |
No | Nobody |