marina/marina.service

18 lines
335 B
SYSTEMD
Raw Normal View History

2023-12-31 13:45:12 +07:00
[Unit]
Description=Marina
Wants=network.target
After=syslog.target network-online.target
[Service]
WorkingDirectory=/var/www/marina/mirzaev/marina/system/public/
ExecStart=/usr/bin/php robot.php
PIDFile=/var/run/php/marina.pid
RemainAfterExit=no
RuntimeMaxSec=3600s
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target