overwriting the systemd startup script

webaltern

Verified User
Joined
Feb 10, 2008
Messages
173
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!
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Hello,

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