git-pusher/git-pusher.service

16 lines
271 B
SYSTEMD
Raw Permalink Normal View History

2024-10-10 00:22:26 +03:00
[Unit]
Description=Logs-Preparer for <SERVICE>
After=network.target
[Service]
Type=simple
WorkingDirectory=<DIR>
2024-10-11 22:02:28 +03:00
ExecStart=<POETRY> run git-pusher -w <WATCH_DIR>
2024-10-10 00:22:26 +03:00
CPUSchedulingPolicy=idle
IOSchedulingClass=3
Restart=always
RestartSec=3
[Install]
WantedBy=default.target