[Unit] Description=simple-http-server Wants=network-pre.target After=network-pre.target [Service] ExecStart=/usr/bin/simple-http-server -i -p 80 -a root:$(get_setting root.password) -s -u /storage Restart=always KillMode=process Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target