aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/systemd/cgitize.service
blob: 0b517fcf3b9d8f78ce9aebcc6284d4cb16705684 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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