@@ -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():
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user