-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add uninstallation instructions #22
Comments
Certainly. In short something like this should undo everything (except uninstalling packages that were installed): # service critic-main stop # rm -r /etc/critic /var/{lib,log,cache,run}/critic /usr/share/critic /var/git # rm /etc/apache2/sites-{enabled,available}/critic-main /etc/init.d/critic-main /usr/bin/criticctl # sudo -u critic psql -c "drop database critic;" # sudo -u postgres psql -c "drop user critic;" # delgroup --system critic # deluser --system critic # update-rc.d critic-main remove # service apache2 restart An uninstall script is of course on the todo list. |
To delete the critic user/role from postgres, I had to run as the postgres user rather than the critic user, i.e.: sudo -u postgres psql -c "drop role critic;" |
There is now a basic uninstall.py on master ( 799eb18 ). |
Many thanks, Martin! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uninstallation instructions or a script would be extremely helpful for those that installed critic just to play with it.
The text was updated successfully, but these errors were encountered: