Advertisement
Guest User

Untitled

a guest
Apr 7th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. name: test
  2. version: '0.1'
  3. summary: Test snappy daemonization
  4. description: |
  5. This is my-snap's description. You have a paragraph or two to tell the
  6. most important story about your snap. Keep it under 100 words though,
  7. we live in tweetspace and your description wants to look good in the snap
  8. store.
  9.  
  10. grade: devel
  11. confinement: devmode
  12.  
  13. apps:
  14. shell:
  15. command: bin/bash
  16.  
  17. test-daemonize-notify:
  18. command: usr/bin/service-helper --verbose --after test-simple --timeout 5 --cmd "usr/bin/test-daemon --myid test-daemonize-notify --daemonize --notify"
  19. daemon: notify
  20.  
  21. test-simple:
  22. command: usr/bin/test-daemon --myid test-simple
  23. daemon: simple
  24.  
  25. test-oneshot:
  26. command: usr/bin/test-daemon --myid test-oneshot --exitafter 0
  27. daemon: oneshot
  28.  
  29. # Not working - snapd bug?
  30. # test-forking:
  31. # command: usr/bin/test-daemon --myid test-forking --daemonize
  32. # daemon: forking
  33.  
  34. parts:
  35. tests:
  36. plugin: dump
  37. stage-packages:
  38. - python-daemon
  39. - python-systemd
  40. - bash
  41. source: src/tests
  42.  
  43. helpers:
  44. plugin: dump
  45. source: src/helpers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement