diff options
Diffstat (limited to 'pyca-capture.service')
-rw-r--r-- | pyca-capture.service | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pyca-capture.service b/pyca-capture.service index 5f6f091acbc8..a634fb143026 100644 --- a/pyca-capture.service +++ b/pyca-capture.service @@ -2,9 +2,13 @@ Description=Python Capture Agent capture service Documentation=https://github.com/opencast/pyCA Wants=network.target +PartOf=pyca.service +After=pyca.service [Service] -Type=simple +Type=notify +NotifyAccess=all +WatchdogSec=300 User=pyca ExecStart=/usr/bin/pyca capture Restart=always @@ -12,4 +16,4 @@ RestartSec=10 TimeoutSec=300 [Install] -WantedBy=multi-user.target +WantedBy=pyca.service |