0

I'm writing an installation script that should do the following just after package installation:

systemctl --user daemon-reload
systemctl --user start ${@}"

The problem is that the installation is done as superuser, so running these commands will return:

Failed to connect to bus: Operation not permitted

I liked the daemon to instantly work without the need to log out. I guess this should be for all logged in users.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.