
| Current Path : /var/mail/etc/systemd/system/multi-user.target.wants/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/mail/etc/systemd/system/multi-user.target.wants/asterisk.service |
[Unit] Description=Asterisk PBX Documentation=man:asterisk(8) Wants=network-online.target After=network-online.target [Service] Type=notify ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk ExecReload=/usr/sbin/asterisk -rx 'core reload' Restart=on-failure RestartSec=1 WorkingDirectory=/var/lib/asterisk # Extra settings: # If you want to set them, you can add them to a file in the directory # /lib/systemd/system/asterisk.service.d/ with the extension .conf. # Example content: #[Service] # # and following those two lines add directives or override existing # directives. Some extra directives that may be useful: # You can run a script to clean up after asterisk. An example script is # included in contrib/scripts/asterisk_cleanup. #ExecStopPost=/path/to/script #Nice=0 #UMask=0002 #LimitCORE=infinity #LimitNOFILE= # safe_asterisk runs Asterisk in a virtual console. This allows easy # access to the asterisk command-line without logging it. on the other # hand, it allows anyone with physical access to the console full access # to Asterisk. To enable this console, unrem the following lines and add # '-c' to the ExecStart line above: #TTYPath=/dev/tty9 #StandardInput=tty #StandardOutput=tty #StandardError=tty # For more information on what these parameters mean see: # # http://0pointer.de/public/systemd-man/systemd.service.html # http://0pointer.de/public/systemd-man/systemd.exec.html [Install] WantedBy=multi-user.target