Created first example.
This commit is contained in:
commit
c5f87d45a0
9
network-script.service
Normal file
9
network-script.service
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Service]
|
||||
ExecStart=/bin/bash script.sh
|
||||
User=root
|
||||
WorkingDirectory=/root
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=network-online.target
|
||||
Loading…
Reference in a new issue