scron/scripts/postinstall.sh
2025-07-31 03:23:35 +02:00

12 lines
276 B
Bash
Executable file

#!/bin/bash
set -e
# Reload systemd and enable service
systemctl daemon-reload
systemctl enable scron
echo "SCRON installed successfully!"
echo "Configuration file: /etc/scron/config.yml"
echo "Start service: systemctl start scron"
echo "View logs: journalctl -u scron -f"