This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-21 07:46:20 +07:00
|
|
|
[Unit]
|
|
|
|
Description=Telegram-robot
|
|
|
|
|
2024-04-15 23:54:57 +07:00
|
|
|
Wants=network.target
|
|
|
|
After=syslog.target network-online.target
|
|
|
|
|
2023-06-21 07:46:20 +07:00
|
|
|
[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
|
2024-04-15 23:54:57 +07:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|