我正在使用Debian Wheezy 7.8,并且想要启动uwsgi作为服务。 我安装了systemd( apt-get install systemd ),并编辑了grub( vim /etc/default/grub )并更新了这一行:
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd"
我更新了grub并重新启动了系统。 但是,当我给这个:
systemctl
我得到这个:
Failed to get D-Bus connection: No connection to service manager.
当我给ps aux我得到这个:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 10648 808 ? Ss 07:06 0:00 init [2]
PID 1不应该被系统化吗?
我究竟做错了什么?