Skip to content
Snippets Groups Projects
Commit 1f4380a6 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

better systemd configuration

parent e03e1ac1
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ def get_dcc_cert_doc_dummy(): ...@@ -47,6 +47,7 @@ def get_dcc_cert_doc_dummy():
def get_dcc_cert_doc(year_cert): def get_dcc_cert_doc(year_cert):
url = '{}{}'.format(config['cert_doc_url'], year_cert) url = '{}{}'.format(config['cert_doc_url'], year_cert)
print('############ ' + url)
try: try:
r = requests.get(url) r = requests.get(url)
d = r.json() d = r.json()
......
[Unit] [Unit]
Description=The vl-dcc daemon. Description=The vl-dcc daemon.
After=network.target Requires=network-online.target
After=network-online.target
[Service] [Service]
User=nobody User=nobody
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment