add OpenUDS Broker task manager

This commit is contained in:
Алексей Шабалин 2020-12-03 22:14:36 +03:00
parent 5e2117e2a5
commit 0a1aaa7cfe

View File

@ -0,0 +1,16 @@
[Unit]
Description=OpenUDS Broker task manager
After=network.target
[Service]
User=openuds
Group=openuds
RuntimeDirectory=openuds
WorkingDirectory=/usr/share/openuds
ExecStart=/usr/bin/python3 /usr/share/openuds/manage.py taskManager --start --foreground
PrivateTmp=true
Restart=always
RestartSec=16
[Install]
WantedBy=multi-user.target