# Path to the configuration file
CONFIG = "/usr/local/PyMSNt/config.xml"
# Path to the configuration file
CONFIG = "/usr/local/PyMSNt/config.xml"
+# User privileges to switch to if run as root
+UID=1
+GID=1
+
####
# You shouldn't need to modify below this line
####
####
# You shouldn't need to modify below this line
####
config.configFile = CONFIG
import main
from twisted.application import service
config.configFile = CONFIG
import main
from twisted.application import service
-application = service.Application("PyMSNt")
+application = service.Application("PyMSNt", uid=UID, gid=GID)
service = main.App()
service.c.setServiceParent(application)
service = main.App()
service.c.setServiceParent(application)