add systemd examples
This commit is contained in:
parent
d520104288
commit
ca1fa3fc54
2 changed files with 32 additions and 0 deletions
16
systemd/lacrossegw.service
Normal file
16
systemd/lacrossegw.service
Normal 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
16
systemd/rcpulsegw.service
Normal 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
|
Loading…
Reference in a new issue