diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-01-21 10:21:29 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-01-23 04:39:05 -0500 |
commit | 9e781c366c795cfb552f5ab3e7bf8df267a9b8ff (patch) | |
tree | 78998afb05c303feb67805907d74a61ec0c316e0 /pcr/mirror-sync/mirror-sync.service | |
parent | ec92ba45b644f99532b4f9da1d5f04c9cc88355d (diff) | |
download | abslibre-9e781c366c795cfb552f5ab3e7bf8df267a9b8ff.tar.gz abslibre-9e781c366c795cfb552f5ab3e7bf8df267a9b8ff.tar.bz2 abslibre-9e781c366c795cfb552f5ab3e7bf8df267a9b8ff.zip |
[mirror-sync]: wip - add pkg
Diffstat (limited to 'pcr/mirror-sync/mirror-sync.service')
-rw-r--r-- | pcr/mirror-sync/mirror-sync.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/mirror-sync/mirror-sync.service b/pcr/mirror-sync/mirror-sync.service new file mode 100644 index 000000000..958a2848d --- /dev/null +++ b/pcr/mirror-sync/mirror-sync.service @@ -0,0 +1,17 @@ +[Unit] +Description=mirror sync +ConditionPathIsReadWrite=/srv/repo/ +ConditionPathIsReadWrite=/srv/repo-staging/ +After=network-online.target +Wants=network-online.target + +[Service] +Type=oneshot +ExecStart=/usr/lib/mirror-sync/mirror-sync.sh +Nice=19 +StandardOutput=journal +StandardError=journal +PrivateTmp=yes +PrivateDevices=yes +CapabilityBoundingSet= +NoNewPrivileges=yes |