rpi-eink-picture-frame/deploy/templates/eink-show.service.j2

13 lines
256 B
Django/Jinja

[Unit]
Description=Show new photo onto the eink display
[Service]
Type=oneshot
User={{ ansible_user }}
WorkingDirectory={{ code_dest }}
ExecStart=python main.py
Environment="OWN_IMAGE_PERCENT={{ own_image_percent }}"
[Install]
WantedBy=multi-user.target