aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/%HOME%/.config/systemd/user/pull-cgit-repos.service
blob: 838afec5f38f52fdbc525a495131450106588ed2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
      
                                  








                                                                    
[Unit]
Description=Pull cgit repositories
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