Advertisement
Guest User

Untitled

a guest
Apr 7th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. apps:
  2. shell:
  3. command: command-shell.wrapper
  4. test-daemonize-notify:
  5. command: command-test-daemonize-notify.wrapper
  6. daemon: notify
  7. test-oneshot:
  8. command: command-test-oneshot.wrapper
  9. daemon: oneshot
  10. test-simple:
  11. command: command-test-simple.wrapper
  12. daemon: simple
  13. architectures:
  14. - amd64
  15. confinement: devmode
  16. description: |
  17. This is my-snap's description. You have a paragraph or two to tell the
  18. most important story about your snap. Keep it under 100 words though,
  19. we live in tweetspace and your description wants to look good in the snap
  20. store.
  21. grade: devel
  22. name: test
  23. summary: Test snappy daemonization
  24. version: '0.1'
  25.  
  26.  
  27. =========================================
  28.  
  29. #!/bin/sh
  30. export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
  31. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu"
  32. export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
  33. export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
  34. exec "$SNAP/usr/bin/python" "$SNAP/usr/bin/service-helper" --verbose --after test-simple --timeout 5 --cmd "usr/bin/test-daemon --myid test-daemonize-notify --daemonize --notify" "$@"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement