• 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
  pilight-control TML 13 320 05-27-2020, 07:51 AM
Last Post: curlymo
  API Requests by HTTP from other devices fore use in pilight scootermacro 2 155 05-10-2020, 08:19 AM
Last Post: scootermacro
  pilight-send seems successful but doesn't actually send RF signal ayeyebrazov 37 2,009 03-31-2020, 01:02 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 505 03-08-2020, 12:14 AM
Last Post: beejayf
  pilight cpu usage possibly associated with noticeable sluggishness? hepcat72 4 521 01-28-2020, 08:02 PM
Last Post: hepcat72
  apt.pilight.org stable Release' is not signed. thomasol 2 645 01-23-2020, 11:34 PM
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 438 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 1,346 01-03-2020, 02:15 PM
Last Post: curlymo
Question [Solved] Openweathermap with pilight 7.0-40 doesn't work Seebueb 2 530 01-01-2020, 06:45 PM
Last Post: Seebueb
  [Solved] Strange receive problem with 433Mhz Receiver and pilight 8.1.5 vanillaice30 15 1,413 12-18-2019, 11:09 AM
Last Post: vanillaice30

Forum Jump:


Browsing: 1 Guest(s)