No need to sudo all over the place
This commit is contained in:
@@ -78,20 +78,20 @@ vpnclient_deploy_files_and_services "${domain}" "${app}"
|
||||
# Set default inits
|
||||
# The boot order of these services are important, so they are disabled by default
|
||||
# and the ynh-vpnclient service handles them.
|
||||
sudo systemctl disable openvpn
|
||||
sudo systemctl stop openvpn
|
||||
systemctl disable openvpn
|
||||
systemctl stop openvpn
|
||||
|
||||
sudo systemctl enable php5-fpm
|
||||
sudo systemctl restart php5-fpm
|
||||
systemctl enable php5-fpm
|
||||
systemctl restart php5-fpm
|
||||
|
||||
sudo systemctl reload nginx
|
||||
systemctl reload nginx
|
||||
|
||||
sudo systemctl enable ynh-vpnclient
|
||||
sudo yunohost service add ynh-vpnclient
|
||||
systemctl enable ynh-vpnclient
|
||||
yunohost service add ynh-vpnclient
|
||||
|
||||
ynh_systemctl start ynh-vpnclient-checker.service
|
||||
sudo systemctl enable ynh-vpnclient-checker.service
|
||||
systemctl enable ynh-vpnclient-checker.service
|
||||
ynh_systemctl start ynh-vpnclient-checker.timer
|
||||
sudo systemctl enable ynh-vpnclient-checker.timer
|
||||
systemctl enable ynh-vpnclient-checker.timer
|
||||
|
||||
sudo yunohost app ssowatconf
|
||||
yunohost app ssowatconf
|
||||
|
Reference in New Issue
Block a user