Commit fc16f25e authored by Steve Illichevskiy's avatar Steve Illichevskiy

Upstart tested

parent 27d904cc
...@@ -3,5 +3,5 @@ server.pub etc/telegram-cli ...@@ -3,5 +3,5 @@ server.pub etc/telegram-cli
#bin/telegram-cli usr/share/telegram-daemon/bin #bin/telegram-cli usr/share/telegram-daemon/bin
#start-telegram-daemon /usr/share/telegram-daemon/bin #start-telegram-daemon /usr/share/telegram-daemon/bin
#test.lua var/lib/telegram-daemon/ test.lua var/lib/telegram-cli/
#telegram-daemon etc/init.d #telegram-daemon etc/init.d
...@@ -4,7 +4,7 @@ setuid telegramd ...@@ -4,7 +4,7 @@ setuid telegramd
setgid telegramd setgid telegramd
script script
exec /usr/bin/telegram-cli -W -d -C -vvvv -l 0 -L /var/lib/telegram-cli/telegram-cli.log -P 8002 exec /usr/bin/telegram-cli -s /var/lib/telegram-cli/test.lua -W -d -C -vvvv -l 0 -L /var/lib/telegram-cli/telegram-cli.log -P 8002
# This example for Daemon wich keep log in his home directory # This example for Daemon wich keep log in his home directory
# This daemon can listen localhost:8002 tcp port # This daemon can listen localhost:8002 tcp port
end script end script
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment