feat: intercom for Raspberry 4 and below (GPIO library)
This commit is contained in:
14
intercom.service
Normal file
14
intercom.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Intercom
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python3 -u intercom.py
|
||||
WorkingDirectory=/home/pi
|
||||
StandardOutput=inherit
|
||||
StandardError=inherit
|
||||
Restart=always
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user