Add timeout to systemd unit
This commit is contained in:
parent
71379ef7df
commit
063fa5f2af
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ Before=network.target
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/local/bin/uncloud-init
|
ExecStart=/usr/local/bin/uncloud-init
|
||||||
|
TimeoutSec=30s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue