matrix-commander - Finalized for manual installation
This commit is contained in:
@@ -3,3 +3,23 @@
|
||||
MACO_USER="matrixcommander"
|
||||
MACO_BASE_DIR="/opt/matrix-commander"
|
||||
MACO_DIR="$MACO_BASE_DIR/matrix-commander"
|
||||
MACO_SERVICE="[Unit]
|
||||
Description=Matrix-Commander
|
||||
After=syslog.target network-online.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
User=$MACO_USER
|
||||
Group=$MACO_USER
|
||||
|
||||
Type=simple
|
||||
|
||||
ExecStart=${MACO_BASE_DIR}/bin/python3 ${MACO_DIR}/matrix-commander.py --listen forever --listen-self
|
||||
TimeoutStopSec=20
|
||||
#KillMode=process
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=matrix-commander.service"
|
||||
|
Reference in New Issue
Block a user