github.com/Lephar/snapd@v0.0.0-20210825215435-c7fba9cef4d2/data/systemd/snapd.autoimport.service.in (about)

     1  [Unit]
     2  Description=Auto import assertions from block devices
     3  After=snapd.service snapd.socket snapd.seeded.service
     4  # don't run on classic
     5  ConditionKernelCommandLine=|snap_core
     6  # TODO:UC20: only enable this in run mode?
     7  ConditionKernelCommandLine=|snapd_recovery_mode
     8  
     9  [Service]
    10  Type=oneshot
    11  ExecStart=@bindir@/snap auto-import
    12  
    13  [Install]
    14  WantedBy=multi-user.target
    15  # This cannot be started on firstboot
    16  # X-Snapd-Snap: do-not-start