19 lines
452 B
Desktop File
19 lines
452 B
Desktop File
; vi: set ft=systemd:
|
|
|
|
[Unit]
|
|
Description=Update git repositories in /%I
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
|
|
Environment=SYSTEMD_SERVICE=true
|
|
Environment=DEPTH="-max-depth=5"
|
|
Environment=LOG_LEVEL="-log-level=info"
|
|
Environment=FORCE="-force"
|
|
Environment=VERBOSE="-verbose"
|
|
|
|
; Allow for grace period after login session is established
|
|
TimeoutStartSec=5m
|
|
ExecStartPre=/usr/bin/sleep 120s
|
|
|
|
ExecStart=/usr/local/bin/update-repos $VERBOSE $LOG_LEVEL $DEPTH $FORCE /%I
|