mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 09:47:19 +00:00
Rather than put hardcoded values into the init scripts, use a config file. The SRV_DIR is a special value as it should be used in the conifg file and also passed to make so it can put the html files in the correct directory. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11 lines
219 B
Desktop File
11 lines
219 B
Desktop File
[Unit]
|
|
Description=Tiny/Turbo/Throttling Web Server
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /var/run/thttpd.pid
|
|
PIDFile=/var/run/thttpd.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|