initial commit of auto command generator for xenforo post
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=runs command list posting to xenforo forum
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=nonroot
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
Environment=PATH=/home/nonroot/xenforo_list_commands/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
|
||||
WorkingDirectory=/home/nonroot/xenforo_list_commands
|
||||
ExecStart=/home/nonroot/xenforo_list_commands/main.py
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Decides when to update the forum post about commands
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 04:00:00
|
||||
OnCalendar=*-*-* 20:00:00
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user