forked from IDeletedSystem64/iptables-deploy
Add systemctl service
This commit is contained in:
parent
bb20548f91
commit
a4ab088df6
13
ontdeploy.service
Normal file
13
ontdeploy.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONT Deploy Script
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=idle
|
||||
Restart=on-failure
|
||||
User=root
|
||||
WorkingDirectory=/opt/iptables-deploy
|
||||
ExecStart=/usr/bin/python3 deploy.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user