Re: systemd - getting started?
Hi!
In fact, I installed systemd on my jessie system just yesterday. So
far I filed two (not very major, promptly being dealt with) bugs and
after a lot of initial conservative scepticism, I'm quite excited
especially by journald. :)
I found switching to systemd trivial by just following:
/usr/share/doc/systemd/README.Debian
After a reboot, I just played with various systemctl, journalctl and
loginctl commands to get a feeling of it.
My first experience with a service file has been following
https://wiki.archlinux.org/index.php/Systemd_FAQ#Q:_How_do_I_avoid_clearing_the_console_after_boot.3F
(note that on Debian, stock service files live in /lib/systemd, not
/usr/lib/systemd).
My rsyslog prints all logs to /dev/tty12 and it continued to do that
just fine after a switch to systemd, but I decided I like the color
coding provided by journalctl and thus wrote my first systemd service
file that'll make journalctl run permanently on /dev/tty12, printing new
log entries. I described what I got (after 10 minutes, incl. reading
manual and debugging) on:
http://log.or.cz/?p=327
http://pasky.or.cz/dev/systemd/journal@tty12.service
Hope that's useful,
Petr "Pasky" Baudis
Reply to: