1.15. Overriding the default unit configuration
You can make changes to the unit file configuration that will persist after updating the package that provides the unit file.
Procedure
Copy the unit file to the
/etc/systemd/system/directory by entering the following command asroot:# cp /usr/lib/systemd/system/<name>.service /etc/systemd/system/<name>.service- Open the copied file with a text editor, and make changes.
Apply unit changes:
# systemctl daemon-reload # systemctl restart <name>.service