mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
20 lines
393 B
Desktop File
20 lines
393 B
Desktop File
# RaspiBolt LND Mainnet: systemd unit for getpublicip.sh script
|
|
# /etc/systemd/system/getpublicip.service
|
|
|
|
[Unit]
|
|
Description=getpublicip.sh: get public ip address from ipinfo.io
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=root
|
|
Group=root
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/getpublicip.sh
|
|
ExecStartPost=/bin/sleep 5
|
|
Restart=always
|
|
|
|
RestartSec=600
|
|
TimeoutSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |