diff --git a/systemd/lacrossegw.service b/systemd/lacrossegw.service new file mode 100644 index 0000000..b59a7ac --- /dev/null +++ b/systemd/lacrossegw.service @@ -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 diff --git a/systemd/rcpulsegw.service b/systemd/rcpulsegw.service new file mode 100644 index 0000000..16daf91 --- /dev/null +++ b/systemd/rcpulsegw.service @@ -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