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

18 lines
419 B
SYSTEMD
Raw Normal View History

2024-04-15 23:54:18 +07:00
[Unit]
Description=Telegram-robot-entry
Wants=network.target
After=syslog.target network-online.target
[Service]
ExecStart=sudo -u www-data /usr/bin/php /var/www/spetsresurs-telegram-robot-entry/mirzaev/spetsresurs/telegram/robot/entry/system/public/robot.php
PIDFile=/var/run/php/telegram-robot-entry.pid
RemainAfterExit=no
RuntimeMaxSec=3600s
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target