tg/debian/telegram-cli.upstart

11 lines
284 B
Plaintext
Raw Normal View History

2014-10-11 08:12:20 -04:00
# Service
setuid telegramd
setgid telegramd
script
exec /usr/bin/telegram-cli -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 daemon can listen localhost:8002 tcp port
end script