summarylogtreecommitdiffstats
path: root/asgi-webdav.user.service
blob: 6a0f4eda2453aa83ceba2dbbb45cddca27423adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description = ASGI WebDAV Server
Documentation = https://rexzhang.github.io/asgi-webdav/
Documentation = https://rexzhang.github.io/asgi-webdav/zh/
Wants = network-online.target
After = network-online.target

[Service]
Restart = on-failure
ExecStartPre = /usr/bin/mkdir -p "%E/asgi-webdav" ; /usr/bin/touch "%E/asgi-webdav/config.json"
ExecStart = /usr/bin/asgi-webdav --host 127.0.0.1 --port 8000 --config "%E/asgi-webdav/config.json"

[Install]
WantedBy = default.target