if [ ! -d /etc/systemd ]; then
    # we are running init
    service graphios stop
else
    # we are running systemd
    systemctl stop graphios.service
fi

unlink /usr/bin/graphios
