• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight 7.0
#81
Lightbulb 
I have make a pilight.service -file in /etc/systemd/system/ with follow content:

Code:
[Unit]
Description=pilight
After=network.target
Requires=network.target

[Service]
Type=simple
PIDFile=/var/run/pilight.pid
ExecStart=/etc/init.d/pilight start
ExecStop=/etc/init.d/pilight stop

[Timer]
OnBootSec=10s
#Verzögerung beim Systemstart, bei einem schnellen Pi3 ist das u.U. nötig,
#sollte aber wegen den Abhängigkeiten bei 'Unit' normalerweise
#auch ohne Verzögerung gehen

[Install]
WantedBy=multi-user.target

no more ssdp-Error after reboot on debain-jessie
No iptables, and no static IP ist required

you must enable this with:
Code:
systemctl enable pilight.service

Mfg Angie


Attached Files
.gz   pilight.service.gz (Size: 324 bytes / Downloads: 19)
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Real 433Mhz Remote is disturbed by pilight service henne111 2 147 10-06-2019, 06:18 PM
Last Post: wo_rasp
Tongue (solved) pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 5 568 10-03-2019, 01:15 PM
Last Post: fleisch
  Starting pilight on boot: "cannot bind to the SSDP multicast network" pilino1234 4 336 09-29-2019, 02:08 PM
Last Post: tomk
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 2,419 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight-receive Filteroption not working Alex 2 562 07-14-2019, 08:35 AM
Last Post: Alex
  pilight usb nano format conversion ettman8 2 449 07-14-2019, 08:32 AM
Last Post: curlymo
  pilight 8.1.4 crashes after some hours Ulrich.Arnold 47 2,671 06-29-2019, 08:58 PM
Last Post: curlymo
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 853 06-11-2019, 05:19 PM
Last Post: curlymo
  pilight fails starting on boot Alex 5 747 06-09-2019, 06:02 PM
Last Post: curlymo
  Google Assistant coupled to pilight hansrijn2 4 1,235 05-29-2019, 06:54 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)