scron/scripts/postinstall.sh
kekskurse 660fc317ab
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: installation script for deb
2025-07-31 03:50:27 +02:00

13 lines
298 B
Bash
Executable file

#!/bin/bash
set -e
# Reload systemd and enable service
systemctl daemon-reload
systemctl enable scron
systemctl start 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"