[ALL] Switch mycroft tmp mount to real /dev/shm tempfs which is actually what shm is made for.

This commit is contained in:
j1nx 2023-09-02 11:58:28 +00:00
parent fcda92f20b
commit bf8b3d5c0e
8 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Environment=XDG_RUNTIME_DIR=%t
AddDevice=/dev/snd
Volume=%h/ovos/config:/home/ovos/.config/mycroft
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
Volume=%t/pipewire-0:/run/user/1000/pipewire-0:ro
Volume=%t/bus:/run/user/1000/bus:ro
Volume=ovos_tts_cache:/home/ovos/.cache/mycroft

View File

@ -12,7 +12,7 @@ Network=host
Timezone=local
UserNS=keep-id:uid=%U,gid=%G
Volume=%h/ovos/config:/home/ovos/.config/mycroft
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
[Service]
TimeoutStartSec=900

View File

@ -20,7 +20,7 @@ UserNS=keep-id:uid=%U,gid=%G
Environment=XDG_RUNTIME_DIR=%t
AddDevice=/dev/snd
Volume=%h/ovos/config:/home/ovos/.config/mycroft
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
Volume=%t/pipewire-0:/run/user/1000/pipewire-0:ro
Volume=ovos_nltk:/home/ovos/nltk_data
Volume=%h/ovos/share:/home/ovos/.local/share/mycroft

View File

@ -20,7 +20,7 @@ UserNS=keep-id:uid=%U,gid=%G
Environment=XDG_RUNTIME_DIR=%t
AddDevice=/dev/snd
Volume=%h/ovos/config:/home/ovos/.config/mycroft:ro
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
Volume=%t/pipewire-0:/run/user/1000/pipewire-0:ro
Volume=ovos_listener_records:/home/ovos/.local/share/mycroft/listener
Volume=ovos_models:/home/ovos/.local/share/precise-lite

View File

@ -12,11 +12,11 @@ Network=host
Timezone=local
UserNS=keep-id:uid=%U,gid=%G
Volume=%h/ovos/config:/home/ovos/.config/mycroft:ro
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
[Service]
TimeoutStartSec=900
Restart=unless-stopped
Restart=always
[Install]
WantedBy=multi-user.target default.target

View File

@ -18,7 +18,7 @@ UserNS=keep-id:uid=%U,gid=%G
Environment=XDG_RUNTIME_DIR=%t
AddDevice=/dev/snd
Volume=%h/ovos/config:/home/ovos/.config/mycroft
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
Volume=%t/pipewire-0:/run/user/1000/pipewire-0:ro
[Service]

View File

@ -14,7 +14,7 @@ Network=host
Timezone=local
UserNS=keep-id:uid=%U,gid=%G
Volume=%h/ovos/config:/home/ovos/.config/mycroft
Volume=%h/ovos/tmp:/tmp/mycroft
Volume=/dev/shm:/tmp
Volume=/sys:/sys:ro
Volume=/dev:/dev:ro