From bd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Mar 2023 13:15:49 +0100 Subject: remove systemd unit files They were unused & untested for a long time. --- systemd/cgitize.service | 13 ------------- systemd/cgitize.timer | 10 ---------- 2 files changed, 23 deletions(-) delete mode 100644 systemd/cgitize.service delete mode 100644 systemd/cgitize.timer 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 -- cgit v1.2.3