1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-24 23:56:50 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/etc/containers/systemd/users/ovos_messagebus.container
j1nx 37e6f47bf7 [ALL] Implement podman quadlet system for rootless systemd integration (untested)
Place these file like here within;

  /etc/containers/systemd/users/

for them to be available for all system users or place them within;

  /etc/containers/systemd/users/<UUID>
  ~/.config/containers/systemd/

for them to be available for that specific user.

The systemd service files can then be automagically be created by the command;

  $ systemctl --user daemon-reload

After which they can be started/enabled normally with;

  $ systemctl --user start ovos_messagebus
  $ systemctl --user start ovos_phal
  etc.
2023-08-30 11:50:40 +00:00

22 lines
445 B
Plaintext

[Unit]
Description=OpenVoiceOS Messagebus Service
After=local-fs.target
[Container]
ContainerName=ovos_messagebus
Image=docker.io/smartgic/ovos-messagebus:alpha
AutoUpdate=registry
LogDriver=journald
HostName=ovos_messagebus
Network=host
Timezone=local
Volume=%h/ovos/config:/home/ovos/.config/mycroft:ro
Volume=%h/ovos/tmp:/tmp/mycroft
[Service]
TimeoutStartSec=900
Restart=unless-stopped
[Install]
WantedBy=multi-user.target default.target