IP Checker
> Adding README.md > Adding ip_checker.service
This commit is contained in:
parent
15d791148f
commit
f10782200d
0
ip_checker/README.md
Normal file
0
ip_checker/README.md
Normal file
14
ip_checker/ip_checker.service
Normal file
14
ip_checker/ip_checker.service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=IP Checker Service
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
# Change [username] with your own.
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/python3 /home/[username]/scripts/ip_checker/ip_checker.py
|
||||||
|
WorkingDirectory=/home/[username]/scripts/ip_checker
|
||||||
|
Restart=always
|
||||||
|
User=[username]
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user