Openbsd Restart Failed Services

📆
🏷

Nice little one-liner to restart all failed services on OpenBSD:

rcctl start $(rcctl ls failed | awk 'BEGIN{ORS=" "}{print}')
--EOF