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.
spetsresurs-telegram-regist.../telegram-robot.service

11 lines
312 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Telegram-robot
[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