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",
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
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
15 # Environment=OPTIONS=-DMY_DEFINE
18 Description=Darkhttpd Web Server
22 EnvironmentFile=-/etc/sysconfig/darkhttpd
23 ExecStart=/usr/sbin/darkhttpd $DARKHTTPD_ROOT --daemon $DARKHTTPD_FLAGS $MIMETYPES
27 WantedBy=multi-user.target