diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-03 12:39:00 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-03 12:39:00 +0200 |
commit | e60bb89a6d1392c0007a1fbc03faf007faf76167 (patch) | |
tree | 05820683872664bf644a41f8b34f18173f11b6db /debian | |
parent | f27702d3cf183f7fbaf88e584bae63a6514d9e65 (diff) |
Added Debian systemd service file
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/webserver.service | 13 |
2 files changed, 14 insertions, 1 deletions
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 <mail@reichwein.it> -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 |