1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Nostromo - A simple, fast, and secure HTTP server After=network.target [Service] Type=forking PIDFile=/usr/share/nostromo/logs/nhttpd.pid PrivateDevices=yes ExecStart=/usr/bin/nhttpd ExecReload=/bin/kill -HUP $MAINPID KillSignal=SIGINT [Install] WantedBy=multi-user.target