From e60bb89a6d1392c0007a1fbc03faf007faf76167 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 3 Apr 2020 12:39:00 +0200 Subject: Added Debian systemd service file --- debian/control | 2 +- debian/webserver.service | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 debian/webserver.service (limited to 'debian') diff --git a/debian/control b/debian/control index e5f62ff..3d5d617 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: webserver Section: web Priority: extra Maintainer: Roland Reichwein -Build-Depends: debhelper (>= 9), libssl-dev, libboost-all-dev | libboost1.71-all-dev +Build-Depends: debhelper (>= 9), libssl-dev, libssl-dev, libboost-all-dev | libboost1.71-all-dev, clang Standards-Version: 4.1.3 Homepage: http://www.reichwein.it/webserver/ 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 -- cgit v1.2.3