summaryrefslogtreecommitdiffhomepage
path: root/debian/webserver.service
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-03 12:39:00 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-03 12:39:00 +0200
commite60bb89a6d1392c0007a1fbc03faf007faf76167 (patch)
tree05820683872664bf644a41f8b34f18173f11b6db /debian/webserver.service
parentf27702d3cf183f7fbaf88e584bae63a6514d9e65 (diff)
Added Debian systemd service file
Diffstat (limited to 'debian/webserver.service')
-rw-r--r--debian/webserver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/webserver.service b/debian/webserver.service
new file mode 100644
index 0000000..fc30893
--- /dev/null
+++ b/debian/webserver.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Webserver
+After=network.target
+
+[Service]
+Type=simple
+# Restart=always
+ExecStart=/usr/bin/webserver 127.0.0.1 80 /tmp 10
+#User=www-data
+#Group=www-data
+
+[Install]
+WantedBy=multi-user.target