]> git.pld-linux.org Git - packages/darkhttpd.git/blame - darkhttpd.service
new, version 1.11
[packages/darkhttpd.git] / darkhttpd.service
CommitLineData
c21ec74a
ER
1# It's not recommended to modify this file in-place, because it will be
2# overwritten during package upgrades. If you want to customize, the best
3# way is to create a file "/etc/systemd/system/darkhttpd.service",
4# containing
5# .include /lib/systemd/system/darkhttpd.service
6# ...make your changes here...
7# For more info about custom unit files, see
8# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
9
10# For example, to pass additional options to the
11# darkhttpd binary at startup, you need to create a file named
12# "/etc/systemd/system/darkhttpd.service" containing:
13# .include /lib/systemd/system/darkhttpd.service
14# [Service]
15# Environment=OPTIONS=-DMY_DEFINE
16
17[Unit]
18Description=Darkhttpd Web Server
19After=network.target
20
21[Service]
22EnvironmentFile=-/etc/sysconfig/darkhttpd
23ExecStart=/usr/sbin/darkhttpd $DARKHTTPD_ROOT --daemon $DARKHTTPD_FLAGS $MIMETYPES
24Type=forking
25
26[Install]
27WantedBy=multi-user.target
This page took 0.083555 seconds and 4 git commands to generate.