diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-27 23:17:14 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-29 00:45:48 +0300 |
commit | 5a792fee1335ea60ca6930dddb6080bcf869213d (patch) | |
tree | fa084df3b07301fd72c8c210fbf9b23e90df0f53 /systemd/cgitize.service | |
parent | rename the project to "cgitize" (diff) | |
download | cgitize-5a792fee1335ea60ca6930dddb6080bcf869213d.tar.gz cgitize-5a792fee1335ea60ca6930dddb6080bcf869213d.zip |
further renaming work
Diffstat (limited to '')
-rw-r--r-- | systemd/cgitize.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/cgitize.service b/systemd/cgitize.service new file mode 100644 index 0000000..0b517fc --- /dev/null +++ b/systemd/cgitize.service @@ -0,0 +1,13 @@ +# 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.conf +StandardOutput=file:%h/var/cgitize/cgitize.log +StandardError=inherit |