small bugfixes and deployment setup
This commit is contained in:
14
deploy/templates/eink-show.service.j2
Normal file
14
deploy/templates/eink-show.service.j2
Normal 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
|
9
deploy/templates/eink-show.timer.j2
Normal file
9
deploy/templates/eink-show.timer.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run photo update regularly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Tue 11:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
0
deploy/templates/wpa_supplicant.conf.j2
Normal file
0
deploy/templates/wpa_supplicant.conf.j2
Normal file
Reference in New Issue
Block a user