Package systemd-homed: Scripts

Post install

 
if sd_booted; then 
    systemctl daemon-reload 
    if [ $1 -eq 1 ]; then 
        # Initial installation 
        systemctl --no-reload preset systemd-homed.service || : 
    else 
        # Package upgrade, not uninstall 
        /lib/systemd/systemd-update-helper mark-restart-system-units systemd-homed.service || : 
    fi 
fi
Pre uninstall

1
2
3
4
5
 
if [ $1 -eq 0 ] && sd_booted; then 
    # Package removal, not upgrade 
    /lib/systemd/systemd-update-helper remove-system-units systemd-homed.service || : 
fi