[ALL] Switch mycroft tmp mount to real /dev/shm tempfs which is actually what shm is made for.
This commit is contained in:
parent
fcda92f20b
commit
bf8b3d5c0e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue