diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-02 13:15:49 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-02 13:15:51 +0100 |
commit | bd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be (patch) | |
tree | 924ada78b758bb77704db7b46fa4ae54f1d511db | |
parent | Makefile: fix venv/upgrade (diff) | |
download | cgitize-bd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be.tar.gz cgitize-bd6826e2b44e3cdd1e7b11aa4d4e8a638f2a69be.zip |
remove systemd unit files
They were unused & untested for a long time.
-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 |