Are there plans to support daemon aliases?

Hi,

I’d like to be able to define daemon aliases. For example, instead of:

systemctl restart snap.app.daemon

I’d like to be able to define an alias that enables:

systemctl restart app-daemon

where:

apps:
  daemon:
    command: app-daemon
    daemon: simple
    aliases:
      - app-daemon
  command:
    command: app-command
    aliases:
     - app-command

This would be useful in transitioning from a deb to snap, where the service has traditionally gone by the name of app-daemon.

Are there any plans to support daemon aliases?

Thanks,
Corey

Last updated 1 year, 4 months ago. Help improve this document in the forum.