add restart parameter

This commit is contained in:
Siwat Sirichai 2022-11-18 23:17:33 +07:00
parent 86d5f7b117
commit 8180f35355
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ After=multi-user.target
Type=simple
WorkingDirectory=/slcp
ExecStart=/slcp/jumpstart.sh
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target