add new packages vsftp, lftp, python3-markups, portmidi

This commit is contained in:
groni
2016-11-22 15:23:44 +01:00
parent f6a6891402
commit 9acc3ae3af
30 changed files with 1516 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
from comar.service import *
serviceType = "server"
serviceDesc = _({"en": "vsFTP Server",
"tr": "vsFTP Sunucusu"})
@synchronized
def start():
startService(command="/usr/sbin/vsftpd",
args="/etc/vsftpd/vsftpd.conf",
detach=True,
donotify=True)
@synchronized
def stop():
stopService(command="/usr/sbin/vsftpd",
donotify=True)
def status():
return isServiceRunning(command="/usr/sbin/vsftpd")