1
1
Fork 0
mirror of https://github.com/BillDietrich/lanwatch.git synced 2024-05-09 15:46:04 +02:00
lanwatch/lanwatch.service
2020-03-22 23:34:24 +01:00

25 lines
774 B
SYSTEMD

#--------------------------------------------------------------------------------------------------
# lanwatch.service Run lanwatch.py when system starts, after network is up.
# Put this file in /etc/systemd/system
# Copyright Bill Dietrich 2020
#--------------------------------------------------------------------------------------------------
[Unit]
Description=LANWatch
# would like this to start ASAP, but I think running before "online" causes problems ?
After=network-online.target
#After=network.target
Before=graphical.target
Before=multi-user.target
[Service]
Type=simple
ExecStart=/usr/local/bin/lanwatch.py
[Install]
WantedBy=multi-user.target
#--------------------------------------------------------------------------------------------------