Hi Louis, thanks for your work on this.

On 2017-04-20.14:05, Louis Bouchard wrote:
> > [Unit]                                                                      
> >                                        
> > Description=Unattended Upgrades Shutdown                                    
> >                                        
> > After=network.target local-fs.target                                        
> >                                        
> > RequiresMountsFor=/var/log /var/run /var/lib /boot                          
> >                                        
> > Documentation=man:unattended-upgrade(8)                                     
> >                                        
> >                                                                             
> >                                        
> > [Service]                                                                   
> >                                        
> > Type=oneshot                                                                
> >                                        
> > RemainAfterExit=yes                                                         
> >                                        
> > ExecStop=/usr/share/unattended-upgrades/unattended-upgrade-shutdown         
> >                                        
> > TimeoutStopSec=900                                                          
> >                                        
> >                                                                             
> >                                        
> > [Install]                                                                   
> >                                        
> > WantedBy=multi-user.target                                                  
> >                                        
> 
> DefaultDependencies=no Needs to be removed as switching from shutdown.target 
> to
> multi-user.target requires to have the DefaultDependencies

I think the After=local-fs.target is unnecessary, as DefaultDependencies
pulls in After=sysinit.target, which itself is After=local-fs.target.

-- 
Regards,
Scott.

Attachment: signature.asc
Description: PGP signature

Reply via email to