Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: test
- version: '0.1'
- summary: Test snappy daemonization
- description: |
- This is my-snap's description. You have a paragraph or two to tell the
- most important story about your snap. Keep it under 100 words though,
- we live in tweetspace and your description wants to look good in the snap
- store.
- grade: devel
- confinement: devmode
- apps:
- shell:
- command: bin/bash
- test-daemonize-notify:
- command: usr/bin/service-helper --verbose --after test-simple --timeout 5 --cmd "usr/bin/test-daemon --myid test-daemonize-notify --daemonize --notify"
- daemon: notify
- test-simple:
- command: usr/bin/test-daemon --myid test-simple
- daemon: simple
- test-oneshot:
- command: usr/bin/test-daemon --myid test-oneshot --exitafter 0
- daemon: oneshot
- # Not working - snapd bug?
- # test-forking:
- # command: usr/bin/test-daemon --myid test-forking --daemonize
- # daemon: forking
- parts:
- tests:
- plugin: dump
- stage-packages:
- - python-daemon
- - python-systemd
- - bash
- source: src/tests
- helpers:
- plugin: dump
- source: src/helpers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement