diff --git a/rootfs/etc/systemd/system/git-sync.service b/rootfs/etc/systemd/system/git-sync.service index 7765c05..d68f947 100644 --- a/rootfs/etc/systemd/system/git-sync.service +++ b/rootfs/etc/systemd/system/git-sync.service @@ -5,4 +5,6 @@ Description=Synchronize files from Git repository Type=oneshot User=root WorkingDirectory=/opt/git-sync/ -ExecStart=/usr/local/bin/git-sync.sh \ No newline at end of file +ExecStart=/usr/bin/env bash -c '/usr/local/bin/git-sync.sh' +StandardOutput=journal +StandardError=journal \ No newline at end of file