modify dufs, install to /usr/bin
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
f8c0d808aa
commit
ada538bb4c
|
@ -18,7 +18,7 @@ source=(
|
||||||
)
|
)
|
||||||
|
|
||||||
function package {
|
function package {
|
||||||
install -Dm755 "${srcdir}/dufs" "${pkgdir}/usr/local/bin/dufs"
|
install -Dm755 "${srcdir}/dufs" "${pkgdir}/usr/bin/dufs"
|
||||||
install -Dm644 "${srcdir}/dufs.service" "${pkgdir}/usr/lib/systemd/system/dufs.service"
|
install -Dm644 "${srcdir}/dufs.service" "${pkgdir}/usr/lib/systemd/system/dufs.service"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=dufs
|
User=dufs
|
||||||
Group=dufs
|
Group=dufs
|
||||||
ExecStart=/usr/local/bin/dufs --auth dufs:dufs@/:rw /srv/dufs
|
ExecStart=/usr/bin/dufs --auth dufs:dufs@/:rw /srv/dufs
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue