cleaned up systemd timer
This commit is contained in:
parent
9531c94850
commit
b889300e00
|
@ -157,7 +157,7 @@ cp sbin/vmail-cron.sh /usr/local/sbin/
|
||||||
chmod 755 /usr/local/sbin/vmail-cron.sh
|
chmod 755 /usr/local/sbin/vmail-cron.sh
|
||||||
cp systemd/vmail-cron.* /usr/lib/systemd/system/
|
cp systemd/vmail-cron.* /usr/lib/systemd/system/
|
||||||
chmod 644 /usr/lib/systemd/system/vmail-cron.*
|
chmod 644 /usr/lib/systemd/system/vmail-cron.*
|
||||||
systemctl daemon-reload
|
systemctl enable vmail-cron.timer
|
||||||
systemctl start vmail-cron.timer
|
systemctl start vmail-cron.timer
|
||||||
|
|
||||||
# download and install roundcubemail
|
# download and install roundcubemail
|
||||||
|
|
|
@ -8,6 +8,3 @@ Description=vmail-stack cron
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/local/sbin/vmail-cron.sh
|
ExecStart=/usr/local/sbin/vmail-cron.sh
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
|
@ -11,4 +11,4 @@ Unit=vmail-cron.service
|
||||||
AccuracySec=6h
|
AccuracySec=6h
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=timers.target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user