add systemd examples

This commit is contained in:
S. Seegel 2020-12-29 00:18:57 +01:00
parent d520104288
commit ca1fa3fc54
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=RaspyRFM la crosse gateway
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=10
User=pi
ExecStart=/home/pi/dev/rfmgithub/apps/lacrossegw.py
StandardOutput=null
StandardError=journal
[Install]
WantedBy=multi-user.target

16
systemd/rcpulsegw.service Normal file
View file

@ -0,0 +1,16 @@
[Unit]
Description=RaspyRFM RC pulse gateway
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=10
User=pi
ExecStart=/home/pi/dev/rfmgithub/apps/rcpulsegw.py
StandardOutput=null
StandardError=journal
[Install]
WantedBy=multi-user.target