initial push
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Restart every week to fix memory leak
|
||||
# https://stackoverflow.com/questions/31055194/how-can-i-configure-a-systemd-service-to-restart-periodically
|
||||
[Service]
|
||||
Restart=always
|
||||
{% if (systemctl_version.stdout|int) < 229 %}
|
||||
Type=notify
|
||||
# 1 week
|
||||
TimeoutStartSec=604800
|
||||
{% else %}
|
||||
RuntimeMaxSec=604800
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user