Skip to content

Commit

Permalink
systemd file first version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaharia Constantin committed Apr 29, 2021
1 parent a23f115 commit 9862583
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Empty file added README.md
Empty file.
Empty file added chrony.py
Empty file.
Empty file added ntpq.py
Empty file.
13 changes: 13 additions & 0 deletions rplcd.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Raspberry PI I2C LCD for Timeserver
After=multi-user.target

[Service]
WorkingDirectory=/home/rplcd/rplcd_timeserver
Type=simple
Restart=always
User=rplcd
ExecStart=/usr/bin/python3 /home/rplcd/rplcd_timeserver/main.py

[Install]
WantedBy=multi-user.target

0 comments on commit 9862583

Please sign in to comment.