Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
8a71a3cb
Commit
8a71a3cb
authored
Oct 02, 2014
by
Steve Illichevskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some changes for daemon mode
parent
f159bd95
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
2 deletions
+9
-2
.gitignore
.gitignore
+1
-0
install
debian/install
+2
-1
postinst
debian/postinst
+2
-0
postrm
debian/postrm
+2
-0
preinst
debian/preinst
+2
-1
No files found.
.gitignore
View file @
8a71a3cb
...
...
@@ -12,3 +12,4 @@ objs/
dep/
auto/
libs/
debian/telegram-cli*
debian/install
View file @
8a71a3cb
bin/telegram-cli usr/bin
bin/telegram-cli usr/share/telegram-daemon/bin
start-telegram-daemon /usr/share/telegram-daemon/bin
test.lua /var/lib/telegram-daemon/
test.lua var/lib/telegram-daemon/
telegram-daemon etc/init.d
server.pub etc/telegram-cli
\ No newline at end of file
debian/postinst
0 → 100644
View file @
8a71a3cb
#!/bin/sh
mv
/var/lib/telegram-daemon/test.lua /var/lib/telegram-daemon/script-achat.lua
\ No newline at end of file
debian/postrm
View file @
8a71a3cb
...
...
@@ -2,3 +2,5 @@
deluser telegramd
rm
-r
/etc/telegram-daemon/
rm
-r
/var/log/telegram-daemon/
rm
-r
/var/lib/telegram-daemon
rm
/etc/init.d/telegram-daemon
\ No newline at end of file
debian/preinst
View file @
8a71a3cb
...
...
@@ -15,4 +15,5 @@ echo "-E" >> /etc/telegram-daemon/telegram-daemon.achat.conf
echo
"-R"
>>
/etc/telegram-daemon/telegram-daemon.achat.conf
echo
"-D"
>>
/etc/telegram-daemon/telegram-daemon.achat.conf
echo
"-C"
>>
/etc/telegram-daemon/telegram-daemon.achat.conf
echo
"-P 2391"
>>
/etc/telegram-daemon/telegram-daemon.achat.conf
\ No newline at end of file
echo
"-P 2391"
>>
/etc/telegram-daemon/telegram-daemon.achat.conf
touch
/var/lib/telegram-daemon/script-achat.lua
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment