News for hackers. Stuff that matters.
Re:Show HN: Interactive systemd (a better way to work with s... by Denvercoder9 on Saturday January 18, 2025 @01:32PM (#42750293)
> I am annoyed by the redundant "systemd/system" directory name

It's not redundant, you also have /etc/systemd/user (and /lib/systemd/user) where units that run in the user context (as opposed to system-wide context) are stored.

Re:Show HN: Interactive systemd (a better way to work with s... by godelski on Saturday January 18, 2025 @04:45PM (#42751656)
It's also worth noting that this is a fairly standard pattern in /etc

  /
  | etc
  | | fail2ban
  | | | action.d
  | | | fail2band.d
  | | | filter.d
  | | | jail.d
  | | ssh
  | | | ssh_config
  | | | sshd_config
  | | systemd
  | | | network   # network wide context
  | | | nspawn    # containers
  | | | system    # system wide context
  | | | user      # user wide context
  
Personally I like it more than

  /
  | etc
  | | cron.d
  | | cron.daily
  | | cron.hourly
  | | cron.monthly
  | | cron.weekly
  | | ...
  | | firewall
  | | firewalld
Keeps things less cluttered. Hierarchical categorization is >> than lateral
Re:Show HN: Interactive systemd (a better way to work with s... by cyberax on Saturday January 18, 2025 @08:04PM (#42752755)
It could have been named 'global' instead of 'system'.