Merge pull request #2223 from bferturk/master

lxdm fix service
This commit is contained in:
yusuf
2016-09-29 17:27:47 +03:00
committed by GitHub
2 changed files with 15 additions and 4 deletions
+8 -4
View File
@@ -11,11 +11,15 @@ DAEMON="/usr/sbin/lxdm"
@synchronized
def start():
startService(command=DAEMON,
pidfile=PIDFILE,
detach=True,
donotify=True)
if status():
return
reply = startService(command=DAEMON,
pidfile=PIDFILE,
donotify=True)
if reply == 0:
run("/usr/sbin/lxdm")
@synchronized
def stop():
+7
View File
@@ -76,6 +76,13 @@
</Package>
<History>
<Update release="2">
<Date>2016-09-29</Date>
<Version>0.5.1</Version>
<Comment>Fix service start on virtual machine</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-08-23</Date>
<Version>0.5.1</Version>