DmitryR
Posts: 12
Joined: Sat Aug 22, 2015 9:18 am

What init system does Raspbian jessie use?

Thu Sep 03, 2015 8:56 am

I installed Raspbian to my SD card.
I updated it to jessie:

Code: Select all

sudo sed -i s/wheezy/jessie/ /etc/apt/sources.list
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get autoremove
After it I installed php5-fpm service and it works (checked with sudo service php5-fpm restart)
But I tried both comands (for systemd and upstart):

Code: Select all

pi@raspberrypi ~ $ sudo systemctl restart php5-fpm.service
sudo: systemctl: command not found
pi@raspberrypi ~ $ sudo restart php5-fpm
sudo: restart: command not found
Does this OS use init V system?
But I found /lib/systemd/system directory, why does it don't work?

fruitoftheloom
Posts: 23549
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: What init system does Raspbian jessie use?

Thu Sep 03, 2015 8:59 am

SystemD
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

DmitryR
Posts: 12
Joined: Sat Aug 22, 2015 9:18 am

Re: What init system does Raspbian jessie use?

Thu Sep 03, 2015 9:01 am

By why do I have this error?

Code: Select all

sudo: systemctl: command not found

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: What init system does Raspbian jessie use?

Thu Sep 03, 2015 9:09 am

probably need to do dist-upgrade, not just upgrade.

DmitryR
Posts: 12
Joined: Sat Aug 22, 2015 9:18 am

Re: What init system does Raspbian jessie use?

Thu Sep 03, 2015 7:53 pm

ShiftPlusOne wrote:probably need to do dist-upgrade, not just upgrade.
Thank you, I'll try to do it today.

But is there any new Raspbian image?
I found only https://www.raspberrypi.org/downloads/raspbian/ and it's based on old debian 7 release.

fruitoftheloom
Posts: 23549
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: What init system does Raspbian jessie use?

Thu Sep 03, 2015 8:21 pm

DmitryR wrote:
ShiftPlusOne wrote:probably need to do dist-upgrade, not just upgrade.
Thank you, I'll try to do it today.

But is there any new Raspbian image?
I found only https://www.raspberrypi.org/downloads/raspbian/ and it's based on old debian 7 release.
That will be the last Raspbian Wheezy (Debian 7.8 old stable based) image afaiaa, but undertaking the following will get it up to date

Code: Select all

sudo apt-get update
sudo apt-get upgrade
Awaiting the stable release of Raspbian Jessie (Debian 8.x stable based) which afaiaa is imminent ;)
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

Return to “Advanced users”