1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh set -e if command -v systemctl >/dev/null 2>&1; then systemctl daemon-reload || true systemctl enable gruezi.service || true if [ -f /etc/gruezi/gruezi.yaml ]; then systemctl restart gruezi.service || true fi fi exit 0