summaryrefslogtreecommitdiffhomepage
path: root/debian/click.service
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-20 15:40:14 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-20 15:40:14 +0100
commit7ecbb11321a05f7498f36ff91d08b51fd3d00a62 (patch)
tree207c8c133929bd4643b68779391a78bdae06452c /debian/click.service
parent78ace79b86aeba3575b2abe2ba617798f6d8da85 (diff)
Add StatusLED
Diffstat (limited to 'debian/click.service')
-rw-r--r--debian/click.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/click.service b/debian/click.service
new file mode 100644
index 0000000..90617fe
--- /dev/null
+++ b/debian/click.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Click
+After=network.target
+
+[Service]
+Type=simple
+# Restart=always
+ExecStart=click
+
+# Restart once a week, maybe certificates have changed
+Restart=always
+RuntimeMaxSec=604800
+
+# webserver will lower privileges to www-data:www-data
+#User=www-data
+#Group=www-data
+
+[Install]
+WantedBy=multi-user.target