Skip to content

Commit fc03de1

Browse files
committed
Fixed python path in unit file
1 parent bdd63de commit fc03de1

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88

99
### Added
1010
### Changed
11+
- Fixed python path in systemd unit file.
12+
1113
### Removed
1214

1315
## [2.3.1] 2025-07-11

contrib/packaging/build.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"_common": {
33
"build_dir": "pkg-build",
44
"version": "{version}",
5-
"pkg_version": "1",
5+
"pkg_version": "3",
66
"archive": {
77
"path": "/opt",
88
"filename": "err-stackstorm_{version}_{distro}_x86_64.tar.gz"

contrib/packaging/build_archive

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function install_extensions
110110
for proj in "${ROOT}/${location}"/*
111111
do
112112
# Install from pyproject
113-
test -f "${proj}/pyproject.toml" && pip install -e "${proj}"
113+
test -f "${proj}/pyproject.toml" && pip install "${proj}"
114114
# Install from requirements
115115
test -f "${proj}/requirements.txt" && pip install -r "${proj}/requirements.txt"
116116
done
@@ -180,7 +180,7 @@ function install_errbot
180180
wget "https://github.com/errbotio/errbot/archive/refs/tags/${ERRBOT_VERSION}.tar.gz" -O errbot-v${ERRBOT_VERSION}.tar.gz
181181
tar xf errbot-v${ERRBOT_VERSION}.tar.gz
182182
cd errbot-${ERRBOT_VERSION}
183-
pip install -e .[IRC,XMPP,telegram]
183+
pip install .[IRC,XMPP,telegram]
184184
fetch_archives
185185
install_extensions
186186
prune_installation

contrib/packaging/templates/ubuntu/debian/err-stackstorm.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=errbot
77
Environment="CONFIGFILE=/opt/errbot/config.py"
8-
ExecStart=/opt/errbot/bin/python /opt/errbot/bin/errbot --config $CONFIGFILE
8+
ExecStart=/opt/errbot/venv/bin/python /opt/errbot/venv/bin/errbot --config $CONFIGFILE
99
ExecStop=/bin/kill -SIGINT $MAINPID
1010
Restart=on-failure
1111

0 commit comments

Comments
 (0)