-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
None
-
None
-
False
-
False
-
-
None
-
CCS 2025-7
-
None
-
Unspecified
-
Unspecified
-
Unspecified
I think the Command(s) described in https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/using_systemd_unit_files_to_customize_and_optimize_your_system/index#proc_creating-custom-unit-files_assembly_working-with-systemd-unit-files are a bit redundant.
# touch /etc/systemd/system/<name>.service # chmod 664 /etc/systemd/system/<name>.service
can be replaced with a single
# systemctl edit --full --force <name>.service
That would also ensure the correct file permissions