Initial commit
This commit is contained in:
11
services/kiwix/clone-zim-updater.service
Normal file
11
services/kiwix/clone-zim-updater.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Clones the ZIM updater repository
|
||||
ConditionPathExists=!/var/home/kiwix/kiwix-zim-updater
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=bash -c "cd /var/home/kiwix && git clone https://github.com/jojo2357/kiwix-zim-updater.git"
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user