Files
scoutfs-manager/scripts/postinstall.sh
William Gill 7a15a2101f
Some checks failed
Release / Build & Vet (push) Successful in 1m18s
Release / Test (push) Successful in 1m15s
Release / Lint (push) Failing after 1m50s
Release / GoReleaser Check (push) Successful in 1m6s
Release / Build & Release (push) Failing after 2m20s
ci: Add Gitea Actions for release automation and package builds
2026-04-04 00:04:21 -05:00

12 lines
249 B
Bash

#!/bin/sh
set -e
# Create state directories
mkdir -p /var/lib/scoutfs-manager/backups
mkdir -p /var/lib/scoutfs-manager/sync-state
# Reload systemd if available
if command -v systemctl > /dev/null 2>&1; then
systemctl daemon-reload || true
fi