v.licheni.net
/
stack
/
code
/
dboxswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stop sync in linux before killing daemon
[stack/code/dboxswitch.git]
/
profhandler.py
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: