v.licheni.net
/
stack
/
code
/
dboxswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d12658f
)
stop sync in linux before killing daemon
author
stack
<stack@inventati.org>
Mon, 9 Jul 2012 00:18:25 +0000
(
02:18
+0200)
committer
stack
<stack@inventati.org>
Mon, 9 Jul 2012 00:18:25 +0000
(
02:18
+0200)
profhandler.py
patch
|
blob
|
history
diff --git
a/profhandler.py
b/profhandler.py
index
d0fbb17
..
18dda25
100755
(executable)
--- a/
profhandler.py
+++ b/
profhandler.py
@@
-160,6
+160,8
@@
class ProfHandler():
def stopDropbox(self):
""" Stop dropbox Daemon """
pl = platform.system()
def stopDropbox(self):
""" Stop dropbox Daemon """
pl = platform.system()
+ if pl == 'Linux':
+ os.system("dropbox stop")
if pl in ('Linux','Darwin'):
pidfile = os.path.expanduser("~/.dropbox/dropbox.pid")
try:
if pl in ('Linux','Darwin'):
pidfile = os.path.expanduser("~/.dropbox/dropbox.pid")
try: