#!/bin/sh

if [ "$1" = "configure" ]; then
    echo "Reloading systemd daemon"
    systemctl daemon-reload
    echo "Enabling firod.service"
    systemctl enable firod.service
    echo "Starting firod.service"
    systemctl start firod.service || >&2 echo "Failed to start firod.service - missing config?"
fi

