diff options
-rw-r--r-- | systemd/cgitize.service | 13 | ||||
-rw-r--r-- | systemd/cgitize.timer | 10 |
2 files changed, 0 insertions, 23 deletions
diff --git a/systemd/cgitize.service b/systemd/cgitize.service deleted file mode 100644 index c53ee7a..0000000 --- a/systemd/cgitize.service +++ /dev/null @@ -1,13 +0,0 @@ -# Adjust as you see fit. - -[Unit] -Description=Pull cgit repositories -Wants=ssh-agent.service - -[Service] -Type=simple -WorkingDirectory=%h/workspace/personal/cgitize -ExecStartPre=/usr/bin/truncate --size=0K -- %h/var/cgitize/cgitize.log -ExecStart=/usr/bin/python3 -m cgitize.main --config %h/etc/cgitize/cgitize.toml -StandardOutput=file:%h/var/cgitize/cgitize.log -StandardError=inherit diff --git a/systemd/cgitize.timer b/systemd/cgitize.timer deleted file mode 100644 index de56c5a..0000000 --- a/systemd/cgitize.timer +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Pull cgit repositories periodically - -[Timer] -Persistent=false -OnCalendar=daily -AccuracySec=1 - -[Install] -WantedBy=timers.target |