Пример 1
"endPlace": [425, 330],
"icon": "endIcon30",
"startPlace": [
{
"startPoint": [45, 875],
"icon": "startIcon20",
"url": ["_aC@DFFTjUU", "3mcWTjoi2zFE"]
},
{
"startPoint": [51, 670],
"icon": "startIcon20",
"url": ["3mcW212zFE"]
},
{
"startPoint": [51, 670],
"icon": "startIcon20",
"url": ["3mcW212zFE"]
}
]
{
"startPoint": [45, 875],
"icon": "startIcon20",
"url": ["_aC@DFFTjUU", "3mcWTjoi2zFE"]
},
root@ithater:/usr/local/bin/vkbot# head -n1 /usr/local/bin/vkbot/bot.py
import vk_api
root@ithater:/usr/local/bin/vkbot# which python
/usr/bin/python
root@ithater:/usr/local/bin/vkbot# which env
/usr/bin/env
root@ithater:/usr/local/bin/vkbot# env python
Python 2.7.15+ (default, Oct 7 2019, 17:39:04)
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
chmod u+x адрес_файла
Dec 1 12:24:49 ithater systemd[1]: Stopped VK_BOT.
Dec 1 12:24:49 ithater systemd[1]: Started VK_BOT.
Dec 1 12:24:49 ithater systemd[3021]: vkbot.service: Failed to execute command: Exec format error
Dec 1 12:24:49 ithater systemd[3021]: vkbot.service: Failed at step EXEC spawning /usr/local/bin/vkbot/bot.py: Exec format error
Dec 1 12:24:49 ithater systemd[1]: vkbot.service: Main process exited, code=exited, status=203/EXEC
Dec 1 12:24:49 ithater systemd[1]: vkbot.service: Failed with result 'exit-code'.
Dec 1 12:24:49 ithater systemd[1]: vkbot.service: Service hold-off time over, scheduling restart.
Dec 1 12:24:49 ithater systemd[1]: vkbot.service: Scheduled restart job, restart counter is at 5.
Dec 1 12:24:49 ithater systemd[1]: Stopped VK_BOT.
Dec 1 12:24:49 ithater systemd[1]: vkbot.service: Start request repeated too quickly.
Dec 1 12:24:49 ithater systemd[1]: vkbot.service: Failed with result 'exit-code'.
Dec 1 12:24:49 ithater systemd[1]: Failed to start VK_BOT.
Dec 1 12:06:06 ithater systemd[1]: Started VK_BOT.
Dec 1 12:06:06 ithater systemd[2144]: vkbot.service: Failed to execute command: Permission denied
Dec 1 12:06:06 ithater systemd[2144]: vkbot.service: Failed at step EXEC spawning /usr/local/bin/vkbot/bot.py: Permission denied
Dec 1 12:06:06 ithater systemd[1]: vkbot.service: Main process exited, code=exited, status=203/EXEC
Dec 1 12:06:06 ithater systemd[1]: vkbot.service: Failed with result 'exit-code'.
Dec 1 12:06:07 ithater systemd[1]: vkbot.service: Service hold-off time over, scheduling restart.
Dec 1 12:06:07 ithater systemd[1]: vkbot.service: Scheduled restart job, restart counter is at 5.
Dec 1 12:06:07 ithater systemd[1]: Stopped VK_BOT.
Dec 1 12:06:07 ithater systemd[1]: vkbot.service: Start request repeated too quickly.
Dec 1 12:06:07 ithater systemd[1]: vkbot.service: Failed with result 'exit-code'.
Dec 1 12:06:07 ithater systemd[1]: Failed to start VK_BOT.
Вход: 1d1526 12+ +3123AD!@++++4
Выход: 115261231234