When I installed my snap application, it timeout while trying to start the daemon because cannot access /run/systemd/notify
and daemon-notify was not connected.
I read some topics but I don’t understand exactly how to do it
apps:
app:
command-chain: &_command-chain
- bin/wayland-launch
- bin/dbus-launch
- snap/command-chain/alsa-launch
command: &_command usr/bin/wrapper
plugs: &_plugs
- alsa
- opengl
- wayland
- browser-support
- hardware-observe
- network
- network-bind
- process-control
- camera
- pulseaudio
- log-observe
- network-control
- raw-usb
- audio-playback
- audio-record
- network-manager
- network-manager-observe
- network-observe
- network-setup-control
- network-setup-observe
- network-status
- power-control
- home
- dev
- system-observe
- snapd-control
- system-source-code
- system-trace
- core-support
- shutdown
- hostname-control
- timeserver-control
- time-control
- timezone-control
- bluez
- bluetooth-control
- display-control
- daemon-notify
environment: &_environment
XDG_DATA_HOME: $SNAP_USER_DATA
XDG_DATA_DIRS: $SNAP/usr/share
GTK_USE_PORTAL: 0
GDK_GL: gles
daemon:
daemon: notify
restart-delay: 1s
restart-condition: always
watchdog-timeout: 45s
command-chain: *_command-chain
command: *_command
plugs: *_plugs
environment: *_environment