Commit 83596d4a authored by Vlad Gaydukov's avatar Vlad Gaydukov
Browse files

auto restart

parent f8e2a29a
Showing with 2 additions and 0 deletions
+2 -0
......@@ -5,6 +5,8 @@ After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/python3.9 /var/www/{{server_name}}/{{server_filename}}
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment