]> git.pld-linux.org Git - packages/darkhttpd.git/blob - darkhttpd.service
new, version 1.11
[packages/darkhttpd.git] / darkhttpd.service
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]
18 Description=Darkhttpd Web Server
19 After=network.target
20
21 [Service]
22 EnvironmentFile=-/etc/sysconfig/darkhttpd
23 ExecStart=/usr/sbin/darkhttpd $DARKHTTPD_ROOT --daemon $DARKHTTPD_FLAGS $MIMETYPES
24 Type=forking
25
26 [Install]
27 WantedBy=multi-user.target
This page took 0.073216 seconds and 3 git commands to generate.