Skip to main content

Search

Items tagged with: systemd


Are you confused about whether you are running systemd? Here are two ways of knowing for sure:

https://itsfoss.com/check-if-systemd/

#linux #systemd


I guess people hating #Wayland are the same folks that hate #SystemD or even #PipeWire whilst refusing to #DoBetter themselves:

#Toxic #Neighsayers that refuse to acknowledge that #Xorg, #SystemVinit and #ALSA / #OSS are bad.

Instead they create redundant work that noone cares and that only.pulls resources from improving mainlike #Linux.

Or does anyone use #Devuan in any busoness-critical applicationm?


@Philipp Holzer @utzer [Friendica] There should be some messages in php-fpm.log or syslog at least. Or do you have #systemd ? Then try reading its journal. A crash, mostly SEGFAULT means that there is an endless/recursive loop. I had this here. Try to reproduce it with strace php crashing-script.php (minimum) and also add a lot debug messages, e.g. which method is being invoked with which parameters (log them all). This is what I do and I was always very successful with it:
// Minimum (sometimes the only way in segfault situations):
printf('[%s:%d]: param1[%s]=%s - CALLED!' . PHP_EOL, __METHOD__, __LINE__, gettype($param1), $param1);

// Or with an actual logger
SomeLogger::trace(sprintf('param1[%s]=%s - CALLED!', gettype($param1), $param1);

Of course logging the type of the parameter makes only sense when you have a multiple-type e.g. string $param1 = null, then $param1 could be type of string or null.


!Friendica Admins Since I prefer to use the Friendica daemon methodology for background workers I wanted to configure it with systemd to make sure it was always running. There was a tutorial in German linked from the main Friendica site. I decided to write one in English that follows similar steps (link to the German blog post is in my own). Enjoy #friendica #fediverse #selfhosting #systemd #linux https://nequalsonelifestyle.com/2022/08/04/setting-up-friendica-daemon-systemd-service/


Systemd is a fact of life on most linux systems. Now here's a site that lets you learn about systemd from the safety of your browser.

https://systemd-by-example.com/

Via Hacker News [ https://news.ycombinator.com/item?id=30071240 ]

#Linux #OperatingSystems #SystemD

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.