blob: 9494a074de0875b7d2b17f80db1cb6caf6bb0721 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
[Unit]
Description=Run pull.sh
Wants=ssh-agent.service
[Service]
Type=simple
WorkingDirectory=/srv/cgit-repos
ExecStartPre=/usr/bin/truncate --size=0K -- /srv/cgit-repos/pull.log
ExecStart=/srv/cgit-repos/pull.sh
StandardOutput=file:/srv/cgit-repos/pull.log
StandardError=inherit
|