перенос из другого репозитория

This commit is contained in:
2024-08-30 22:04:28 +07:00
commit c41a723af7
11 changed files with 6699 additions and 0 deletions

16
telegram-robot.service Executable file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Telegram-robot
Wants=network.target
After=syslog.target network-online.target
[Service]
ExecStart=sudo -u www-data /usr/bin/php /var/www/spetsresurs-telegram-registry-requests/mirzaev/spetsresurs/telegram/registry/requests/system/public/robot.php
PIDFile=/var/run/php/telegram-robot.pid
RemainAfterExit=no
RuntimeMaxSec=3600s
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target