Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. [Unit]
  2. Description=dump changes to devnull
  3. Conflicts=shutdown.target
  4. DefaultDependencies=no
  5. Before=systemd-fsck-root.service local-fs-pre.target emergency.service rescue.service
  6. Wants=systemd-udevd-control.socket systemd-udevd.service systemd-udev-trigger.service
  7. After=systemd-udevd-control.socket
  8.  
  9. [Install]
  10. WantedBy=sysinit.target
  11.  
  12. [Service]
  13. Type=simple
  14. ExecStart=/usr/bin/inotifywait -m -e attrib /dev/null
  15. ExecStop=/bin/kill -HUP $MAINPID
  16. StandardOutput=inherit
  17. StandardError=inherit
  18. KillMode=process
  19. IgnoreSIGPIPE=no
  20. SendSIGHUP=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement