WikiStart: SIP_client.conf

File SIP_client.conf, 591 bytes (added by alx, 9 years ago)
Line 
1# SIP_client-upstart
2# starts SIP_client on startup by using xinit.
3# by default runs as dispatcher, to change edit below.
4env USER=dispatcher
5
6description "SIP_client-upstart-script"
7author "Alex Mogilnikov"
8
9start on (filesystem and stopped udevtrigger)
10stop on runlevel [016]
11
12# tell upstart to respawn the process if abnormal exit
13respawn
14respawn limit 10 5
15limit nice 21 21
16
17script
18exec su -c "xinit /usr/bin/java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -jar /usr/local/share/SIP_client/SIP_client.jar -- /usr/bin/X -s 0 -bs -nolisten tcp :0" $USER
19end script