Mister_Magister

firmware.service

Aug 19th, 2017
174
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Unit]
  2. Description=Droid mount for /firmware
  3. Before=local-fs.target systemd-modules-load.service
  4. DefaultDependencies=no
  5. # Lets not do Requires= here as that means that this service will restart which leads automatically
  6. # to broken state as android init can be only started once per boot. If something goes wrong
  7. # our best hope is that android init doesn't notice that and that the crashing party fixes itself :)
  8.  
  9. [Service]
  10. Type=notify
  11. NotifyAccess=all
  12. ExecStart=/bin/sh /usr/bin/droid/extract_firmware.sh
  13. #Restart=always
  14. # Lets make sure we don't block minutes in case of errors.
  15. TimeoutSec=15
  16. #StartLimitInterval=60
  17. #StartLimitBurst=2
  18.  
  19. [Install]
  20. WantedBy=local-fs.target
RAW Paste Data