small bugfixes and deployment setup

This commit is contained in:
2023-10-24 21:57:05 +02:00
parent bddcb587a1
commit 1e6f248da1
9 changed files with 139 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Show new photo onto the eink display
[Service]
Type=oneshot
WorkingDirectory={{ code_dest }}
#EnvironmentFile={{ service_config_dir }}/restic.env
ExecStart=python main.py
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Run photo update regularly
[Timer]
OnCalendar=Tue 11:00
Persistent=true
[Install]
WantedBy=timers.target

View File