jgmdev / ddos-deflate

Fork of DDoS Deflate with fixes, improvements and new features.
Other
760 stars 262 forks source link

Replace path for systemd to /lib/systemd/system which always exists #61

Closed Nardol closed 5 years ago

Nardol commented 5 years ago

For the moment, the path checked for SystemD is /usr/lib/systemd/system. I installed ddos-deflate on 4 different installations, this path existed only on one. It looks like more frequent to use /lib/systemd/system for SystemD services. That why I propose this pull request to modify install.sh and uninstall.sh to use /lib/systemd/system instead of /usr/lib/systemd/system.