1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-03 12:07:46 +01:00
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

26 lines
534 B
Plaintext

[Unit]
Description=OpenVoiceOS PHAL Admin Service
After=local-fs.target
Wants=ovos_messagebus.service
After=ovos_messagebus.service
[Container]
ContainerName=ovos_phal_admin
Image=docker.io/smartgic/ovos-phal-admin:alpha
AutoUpdate=registry
LogDriver=journald
HostName=ovos_phal_admin
Network=host
Timezone=local
Volume=%h/ovos/config:/home/ovos/.config/mycroft
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/sys:/sys:ro
Volume=/dev:/dev:ro
[Service]
TimeoutStartSec=900
Restart=always
[Install]
WantedBy=multi-user.target default.target