mirror of
				https://github.com/YunoHost-Apps/send_ynh.git
				synced 2025-11-03 23:35:35 +01:00 
			
		
		
		
	Remove /var/log
There is no `/var/log`
This commit is contained in:
		@@ -137,20 +137,12 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1
 | 
			
		||||
# Create a dedicated systemd config
 | 
			
		||||
ynh_add_systemd_config
 | 
			
		||||
 | 
			
		||||
#=================================================
 | 
			
		||||
# SETUP LOGROTATE
 | 
			
		||||
#=================================================
 | 
			
		||||
ynh_script_progression --message="Configuring log rotation..." --weight=1
 | 
			
		||||
 | 
			
		||||
# Use logrotate to manage application logfile(s)
 | 
			
		||||
ynh_use_logrotate
 | 
			
		||||
 | 
			
		||||
#=================================================
 | 
			
		||||
# 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