Local accounting TS3 /dev/shm

Is there a way to bypass the ts3 local accounting check ?
It creates a file 7gbhujb54g8z9hu43jre8 that prevent to run multiple instances in the same box
Its sad that you must have it on a container or vm to run that.

Isnt in linux something to have a private shm for each process ?
Cant find anything


New Member
just an example, change it the way you like.
rm -f /dev/shm/7gbhujb54g8z9hu43jre8
chown -R $s:$s /home/$s && sudo -u $s /home/$s/ts/ts3server_startscript.sh start inifile=./ts3server.ini
If you delete that file , the process that created it will be terminated.
I found a way a little complex but it works:

sudo unshare -m /bin/bash -c "umount /dev/shm;mount -n -o size=1m -t tmpfs tmpfs /dev/shm;su ts3free -c \"LD_LIBRARY_PATH=../teamspeak3-server_linux_amd64 exec ../teamspeak3-server_linux_amd64/ts3server license_accepted=1

Top Bottom