overwriting the systemd startup script

webaltern

Verified User
Joined
Feb 10, 2008
Messages
175
Location
Québec, Canada
Hello,

I need to customize the systemd script for apache (httpd) to add a ExecStartPre=

So I have added my line to /etc/systemd/system/httpd.services and it's seems to work well...

Now I want to know if the custombuild script will overwrite this file when I do a system upgrade/update? If yes, how I can make this change permanent?


Sorry for my bad english, it's not my primary langauge....


Thank you!
 
Hello,

Copy your script to /usr/local/directadmin/custombuild/custom/systemd/
 
Back
Top