lxdm fix service
This commit is contained in:
@@ -11,11 +11,15 @@ DAEMON="/usr/sbin/lxdm"
|
|||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
def start():
|
def start():
|
||||||
startService(command=DAEMON,
|
if status():
|
||||||
pidfile=PIDFILE,
|
return
|
||||||
detach=True,
|
|
||||||
donotify=True)
|
|
||||||
|
|
||||||
|
reply = startService(command=DAEMON,
|
||||||
|
pidfile=PIDFILE,
|
||||||
|
donotify=True)
|
||||||
|
|
||||||
|
if reply == 0:
|
||||||
|
run("/usr/sbin/lxdm")
|
||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
def stop():
|
def stop():
|
||||||
|
|||||||
@@ -76,6 +76,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="1">
|
||||||
<Date>2016-08-23</Date>
|
<Date>2016-08-23</Date>
|
||||||
<Version>0.5.1</Version>
|
<Version>0.5.1</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user