cmus-control
cmus-control copied to clipboard
PID File
WARNING: Can't write in /var/run
To use PROJECT_USE_PID_FILE it's nesessary to run the process under daemon group:
~$ ls -lad /var/run
drwxrwxr-x 33 root daemon 1122 27 Apr 19:02 /var/run
Maybe setgid() can be used to achieve this.
ps -eo pid,uid,ruid,gid,rgid,comm | grep cmus
Using M3 Pro, macOS Sequoia 15.4
~$ ls -lad /var/run
drwxrwxr-x 41 root daemon 1312 May 18 10:58 /var/run