Skip to content

Commit

Permalink
Ajout systemd service description file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Emmanuel Brinette committed Jun 18, 2021
1 parent 20b07a1 commit 3772b91
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions teleinfo.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Teleinfo systemd service description
# /etc/systemd/system/teleinfo.service
#
[Unit]
Description=Teleinfo
After=multi-user.target

[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 /home/pierrem/src/teleinfo-linky-with-raspberry/teleinfo.py
User=pierrem
Group=dialout

[Install]
WantedBy=multi-user.target

0 comments on commit 3772b91

Please sign in to comment.