开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Alma and g2_link


 

The red button is discard, the green button is send. *sigh* And again ...

Why would you look at Oracle's distribution vs Alma? Are you certain that they are "RHEL compatible" enough that the instructions on offer for Alma 9 would "just work"? Or would you spend hours and hours tracking down some obscure difference?

Anyway, not a fan of systemd, but as a user (and mostly-former admin), I don't get a say. I hate the gratuitous changes over the years in how things work. I do want to keep moving forward but for goodness's sake, include config converters and commands that look like the "old way" while doing the new thing (and telling you where to find more info). Some new stuff *is* better, but if you have been running ifconfig for *decades* and now it's "ip", at least make ifconfig say "hey, greybeard, run 'ip a' instead next time (here is the info)"

But no. Not how the kids do it these days.

ANYWAY, systemd uses ASCII files like the /etc/init.d stuff but just rearranges everything. Here is the example for the ircDDB addon I put on our G3.2/Alma 9 system the other day.


[root@dstar-gw etc]# more /usr/lib/systemd/system-preset/51-ircddbd3.preset /usr/lib/systemd/system/ircddbd3.service
::::::::::::::
/usr/lib/systemd/system-preset/51-ircddbd3.preset
::::::::::::::
enable ircddbd3.service
::::::::::::::
/usr/lib/systemd/system/ircddbd3.service
::::::::::::::
[Unit]
Description=ircDDB java program
After=network.target

[Service]
Type=simple
ExecStart=/usr/share/ircddbd3/ircddbd3.sh
User=ircddb
Group=ircddb
Restart=always
RestartSec=30


[Install]
WantedBy=multi-user.target

Join [email protected] to automatically receive all group messages.