jgmdev / ddos-deflate

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

Remove SystemD legacy service during uninstallation if it exists #62

Closed Nardol closed 5 years ago

Nardol commented 5 years ago

When I pulled the repository on another machine, I seen old systemd service was not rmoved. It might be interesting to remove the legacy systemd service durring uninstallation. Only one question still without any answer for me: should that be done also during installation?

Sory for the double-pull request for this change.

jgmdev commented 5 years ago

Well, distributions like archlinux link /usr/lib into /lib but I don't see any issues with also removing the file from /usr/lib in case a distribution doesn't does like archlinux which I'm not sure. Also I think is enough to do this at uninstall time so I will merge this. Thanks for the pull requests.