1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jenkins_ynh.git synced 2024-09-03 19:26:18 +02:00
jenkins_ynh/scripts/remove
2014-12-12 22:15:20 +01:00

14 lines
321 B
Bash

#!/bin/bash
domain=$(sudo yunohost app setting jenkins domain)
sudo rm /etc/nginx/conf.d/$domain/jenkins.conf
sudo yunohost ssowatconf
sudo service nginx reload
sudo yunohost service remove ynh-jenkins
sudo apt-get purge jenkins
sudo rm /etc/apt/sources.list.d/jenkins.list
# TODO remove repo key
sudo apt-get update