aboutsummaryrefslogtreecommitdiff
path: root/utils/systemd/update-repo-copy.service
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-29 02:25:18 +0800
committerKunoiSayami <[email protected]>2022-10-29 02:25:18 +0800
commitbefbf3b43fab184d5014cc51fcc6c3c1f0a4cd53 (patch)
treec99e9fab7ad17e1d01ceb93f54d3ec537baca936 /utils/systemd/update-repo-copy.service
parent0e7527d3e1555fb7507dc3b5a8ef0f2d8c7f8160 (diff)
feat(script): Optimize build fail output
feat(script): Add update-repo-copy.service Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/systemd/update-repo-copy.service')
-rw-r--r--utils/systemd/update-repo-copy.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/systemd/update-repo-copy.service b/utils/systemd/update-repo-copy.service
new file mode 100644
index 0000000..af79ee5
--- /dev/null
+++ b/utils/systemd/update-repo-copy.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Update repo copy service
+
+[Service]
+WorkingDirectory=/var/lib/update/packages/
+ExecStartPre=/var/lib/update/wait-services.sh
+ExecStart=/usr/bin/rsync -r --links -vct --update --delete . /var/www/packages \ No newline at end of file