Watch
1
0
Fork
You've already forked Seyyed_arc
0
forked from hesabix/arc
Seyyed_arc/extraScripts/HesabixTelephonyConnector/systemd/hesabix-telephony-connector.service
Babak Alizadeh 5ea784e6ff fix: require Python ≥3.8 for Issabel telephony connector
Issabel/Rocky 8 ships Python 3.6 which crashes the connector; install/update now detect or install python39 and point systemd at it.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 08:44:46 +00:00

22 lines
786 B
Desktop File

[Unit]
Description=Hesabix Telephony Connector (Issabel/Asterisk ↔ Hesabix)
Documentation=https://source.hesabix.ir/hesabix/arc/src/branch/master/extraScripts/HesabixTelephonyConnector
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/HesabixTelephonyConnector
EnvironmentFile=/opt/HesabixTelephonyConnector/.env
# مفسر توسط hesabix-pbx install/update به پایتون ≥3.8 بازنویسی می‌شود
# (روی Issabel/Rocky8 مسیر /usr/bin/python3 معمولاً 3.6 است و کار نمی‌کند)
ExecStart=/usr/bin/python3 /opt/HesabixTelephonyConnector/app/main.py
Restart=always
RestartSec=5
TimeoutStopSec=20
# امنیت پایه
NoNewPrivileges=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target