| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/pulseaudio/examples/ |
Upload File : |
# System PulseAudio service description "System PulseAudio sound server" author "Pali Rohár <pali.rohar@gmail.com>" # uncomment the 'start on' to start pulseaudio in system mode # (enables the pulseaudio init script - requires that users be in the # pulse-access group) # System mode is not the recommended way to run PulseAudio as it has some # limitations (such as no shared memory access) and could potentially allow # users to disconnect or redirect each others' audio streams. The # recommended way to run PulseAudio is as a per-session daemon. For GNOME/KDE/ # Xfce sessions in Ubuntu Lucid/10.04, /etc/xdg/autostart/pulseaudio.desktop # handles this function of automatically starting PulseAudio on login, and for # it to work correctly your user must *not* have "autospawn = no" set in # ~/.pulse/client.conf (or in /etc/pulse/client.conf). By default, autospawn # is enabled. For other sessions, you can simply start PulseAudio with # "pulseaudio --daemonize". #start on runlevel [2345] stop on runlevel [016] expect daemon respawn # Prevent users from dynamically loading modules into the PulseAudio sound # server. Dynamic module loading enhances the flexibility of the PulseAudio # system, but may pose a security risk. # 0 = no, 1 = yes env DISALLOW_MODULE_LOADING=1 # extra arguments to pass to the daemon env PULSEAUDIO_ARGS= pre-start exec install -d -m755 -o pulse -g pulse /run/pulse exec /usr/bin/pulseaudio --system --daemonize --high-priority --log-target=syslog --disallow-exit --disallow-module-loading=$DISALLOW_MODULE_LOADING $PULSEAUDIO_ARGS post-start script if [ -e /var/run/pulse/.esd_auth ]; then chown pulse:pulse-access /var/run/pulse/.esd_auth chmod 640 /var/run/pulse/.esd_auth fi if [ -e /var/run/pulse/.pulse-cookie ]; then chown pulse:pulse-access /var/run/pulse/.pulse-cookie chmod 640 /var/run/pulse/.pulse-cookie fi end script