A service stop followed by a restart does not restart services
Bug #2012630 reported by
Alfonso Sanchez-Beato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Alfonso Sanchez-Beato |
Bug Description
I have a snap defined with snap.yaml:
base: core22
confinement: strict
grade: stable
name: test-svc
version: 0.1
summary: Test svc
description: |
Test svc
architectures:
- amd64
apps:
testsvc:
command: bin/testsvc
daemon: simple
Stopping and restarting does not start the service again:
$ sudo snap install --dangerous test-svc_
test-svc 0.1 installed
$ pgrep -f test-svc
2573
$ sudo snap stop test-svc
Stopped.
$ sudo snap restart test-svc
Restarted.
$ pgrep -f test-svc
$
To post a comment you must log in.
See https:/ /github. com/snapcore/ snapd/pull/ 12670