cleaned up systemd timer
This commit is contained in:
parent
52d4f45849
commit
431d30d007
|
@ -76,7 +76,7 @@ cp sbin/rc-cron.sh /usr/local/sbin/
|
|||
chmod 755 /usr/local/sbin/rc-cron.sh
|
||||
cp systemd/rc-cron.* /usr/lib/systemd/system/
|
||||
chmod 644 /usr/lib/systemd/system/rc-cron.*
|
||||
systemctl daemon-reload
|
||||
systemctl enable rc-cron.timer
|
||||
systemctl start rc-cron.timer
|
||||
|
||||
echo "Roundcube webmail installed."
|
||||
|
|
|
@ -3,11 +3,8 @@
|
|||
# MIT License Copyright (c) 2021 Matthew Saunders Brown
|
||||
#
|
||||
[Unit]
|
||||
Description=Roundcube cron
|
||||
Description=Roundcube cron for cleaning up db
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/sbin/rc-cron.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -11,4 +11,4 @@ Unit=rc-cron.service
|
|||
AccuracySec=6h
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=timers.target
|
||||
|
|
Loading…
Reference in New Issue
Block a user