Public bug reported:
Here's a .service file from my system for a service with `restart-
condition: never` in the YAML (note the Restart=never):
[Unit]
# Auto-generated, DO NO EDIT
Description=Service for snap application data-writer.service
After=snapd.frameworks.target
Requires=snapd.frameworks.target
X-Snappy=yes
[Service]
ExecStart=/usr/bin/ubuntu-core-launcher snap.data-writer.service
snap.data-writer.service /snap/data-writer/x4/bin/write-data from-service
Restart=never
WorkingDirectory=/var/snap/data-writer/x4
Environment="SNAP=/snap/data-writer/x4" "SNAP_DATA=/var/snap/data-writer/x4"
"SNAP_NAME=data-writer" "SNAP_VERSION=1.0" "SNAP_REVISION=x4" "SNAP_ARCH=amd64"
"SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:"
"SNAP_USER_DATA=/root/snap/data-writer/x4"
TimeoutStopSec=30
Type=simple
[Install]
WantedBy=multi-user.target
** Affects: snapd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595661
Title:
snapd uses "never" in systemd unit files when it should be using "no"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1595661/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs