forked from Git/send_ynh
		
	Remove /var/log
There is no `/var/log`
This commit is contained in:
		@@ -87,19 +87,12 @@ ynh_script_progression --message="Restoring the systemd configuration..." --weig
 | 
			
		||||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
 | 
			
		||||
systemctl enable $app.service --quiet
 | 
			
		||||
 | 
			
		||||
#=================================================
 | 
			
		||||
# RESTORE THE LOGROTATE CONFIGURATION
 | 
			
		||||
#=================================================
 | 
			
		||||
ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1
 | 
			
		||||
 | 
			
		||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
 | 
			
		||||
 | 
			
		||||
#=================================================
 | 
			
		||||
# INTEGRATE SERVICE IN YUNOHOST
 | 
			
		||||
#=================================================
 | 
			
		||||
ynh_script_progression --message="Integrating service in YunoHost..."
 | 
			
		||||
 | 
			
		||||
yunohost service add $app --description="Simple, private file sharing" --log="/var/log/$app/$app.log"
 | 
			
		||||
yunohost service add $app --description="Simple, private file sharing"
 | 
			
		||||
 | 
			
		||||
#=================================================
 | 
			
		||||
# START SYSTEMD SERVICE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user