Package: micro-httpd
Version: 20051212-15
Severity: normal
Tags: patch

Dear Maintainer,

Please add these systemd socket files.
These should go in /lib/systemd/system .
Then the user can simply use

systemctl enable micro-httpd.socket to activate
the socket.

Alexandre Detiste



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-trunk-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages micro-httpd depends on:
ii  libc6               2.19-10
ii  netcat-traditional  1.10-40

micro-httpd recommends no packages.

Versions of packages micro-httpd suggests:
pn  micro-proxy  <none>
[Unit]
Description=micro-httpd

[Service]
User=nobody
Group=www-data
ExecStart=-/usr/sbin/micro-httpd /var/www
StandardInput=socket

#www    stream  tcp     nowait nobody:www-data  /usr/sbin/tcpd 
/usr/sbin/micro-httpd /var/www
[Unit]
Description=micro-httpd

[Socket]
ListenStream=0.0.0.0:80
Accept=true

[Install]
WantedBy=sockets.target

#www    stream  tcp     nowait nobody:www-data  /usr/sbin/tcpd 
/usr/sbin/micro-httpd /var/www

Reply via email to