又再一次忘記/dev/shm/下面的檔案,一般的使用者登出後檔案會被刪除。解法就是去修改 /etc/systemd/logind.conf,裡面選項改成RemoveIPC=no。修改完後用下面的指令去重新啟動:
要看systemd-logind的狀態則是用指令:
- systemctl status systemd-logind
參考資料
- /dev/shm/下面的檔案消失了
- 16.04 LTS and /dev/shm/ Files Disappearing
- Force restart of systemd-logind.service
- 打開與關閉Ubuntu 16.04的服務:service與systemctl指令的使用方式
_EOF_
A highly detailed digital image of an imagination machine, concept art, artstation, cgsociety, very detailed, intricate, detailed illustration, by greg rutkowski and alphonse mucha, Paul Lehr and Beeple, iridescent accents, ray tracing, product lighting, sharp, smooth, masterpiece
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 2201899237, Size: 512x256, Model hash: 6ce0161689, Model: v1-5-pruned-emaonly, Version: v1.6.0-2-g4afaaf8a
Time taken: 4 min. 24.3 sec.
A: 3.36 GB, R: 3.43 GB, Sys: 2.0/2 GB (100.0%)
沒有留言:
張貼留言