aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 13:15:49 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 13:15:51 +0100
commitbd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be (patch)
tree924ada78b758bb77704db7b46fa4ae54f1d511db
parentMakefile: fix venv/upgrade (diff)
downloadcgitize-bd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be.tar.gz
cgitize-bd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be.zip
remove systemd unit files
They were unused & untested for a long time.
-rw-r--r--systemd/cgitize.service13
-rw-r--r--systemd/cgitize.timer10
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