Skip to content
Snippets Groups Projects
Commit bff966fb authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Add basic unit file

parent 03e8cd45
Branches
No related tags found
No related merge requests found
[Unit]
Description="stechuhr-server daemon, receives Post requests"
[Service]
ExecStart=/usr/bin/python /srv/stechuhr-server/stechuhr_server/server.py
Restart=always
RestartSec=30
[Install]
WantedBy=network.target
\ No newline at end of file
...@@ -32,6 +32,10 @@ min_entrance_length = 1 ...@@ -32,6 +32,10 @@ min_entrance_length = 1
max_entrance_length = 128 max_entrance_length = 128
min_location_length = 1 min_location_length = 1
max_location_length = 128 max_location_length = 128
[retention]
# how old is data allowed to be (in days)
duration = 365
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment