Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apps:
- shell:
- command: command-shell.wrapper
- test-daemonize-notify:
- command: command-test-daemonize-notify.wrapper
- daemon: notify
- test-oneshot:
- command: command-test-oneshot.wrapper
- daemon: oneshot
- test-simple:
- command: command-test-simple.wrapper
- daemon: simple
- architectures:
- - amd64
- confinement: devmode
- 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
- name: test
- summary: Test snappy daemonization
- version: '0.1'
- =========================================
- #!/bin/sh
- export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
- 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"
- export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
- export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
- 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