When I attempt to create a new systemd unit (on Ubuntu 16.04)
$ sudo systemctl edit --user --full --force wagoOpenhabBridge.service
Failed to connect to bus: No such file or directory
Apart from this problem my systemd is running fine.
After some internet research, I checked these things:
- I'm not using docker, Ubuntu is running directly on Intel NUC x64 hardware
- systemd is running with PID=1
XDG variables in env are
XDGSESSIONID=1790 XDGDATADIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop XDGRUNTIMEDIR=/run/user/1000
Any ideas what is going wrong? What other things can I check?
sudo
to edit a user unit?