You've already forked eink-calendar
mirror of
https://github.com/javierpena/eink-calendar.git
synced 2025-08-10 21:52:01 +02:00
First upload
This commit is contained in:
14
scripts/calendar.service
Normal file
14
scripts/calendar.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=My cool e-ink family calendar
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=pi
|
||||
ExecStart=/home/pi/launcher.sh
|
||||
PrivateTmp=false
|
||||
KillMode=control-group
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
5
scripts/launcher.sh
Executable file
5
scripts/launcher.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ~/calendario
|
||||
source .venv/bin/activate
|
||||
./mycalendar.py
|
Reference in New Issue
Block a user