updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / fcron / fcron.install
bloba1223138e2ccc0f3b11b26e8cfc2c1d49ad9881d
1 pre_install() {
2    # Create necessary user and group
3    getent group cron || /usr/sbin/groupadd -g 22 cron
4    getent passwd cron || /usr/sbin/useradd -d / -g cron -u 22 -s /bin/false cron
7 post_install() {
8     cat << "EOF"
10     Use fcrontab -u systab -e to edit the system crontab and change the defaults.
12     By default fcron uses vi as an editor for your crontab. If you want to use another editor
13     you can define it in /etc/fcron/fcron.conf. If for some odd reason you want to uninstall
14     vi and recompile fcron, you need to edit the PKGBUILD and pass
15     --with-editor=<pathtoyoureditor> to configure.
17     By default fcron uses /usr/sbin/sendmail (as in the packages providing smtp-sever, such as 
18     exim and postfix) to send mails about your cron jobs. If there is no /usr/sbin/sendmail you 
19     won't get mails. If you want to use a MTA with a different path you can define it 
20     /etc/fcron/fcron.conf.
22 EOF