From bfa8befe7abe18b6ad23f92fa07d271bc1246577 Mon Sep 17 00:00:00 2001 From: mightqxc Date: Wed, 3 Jul 2024 17:02:02 +0200 Subject: [PATCH 1/2] systemd service config with user/group --- pandaharvester/commit_timestamp.py | 2 +- pyproject.toml | 4 ++-- templates/systemd/panda_harvester-uwsgi.service.template | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pandaharvester/commit_timestamp.py b/pandaharvester/commit_timestamp.py index e1193cfc..715345dc 100644 --- a/pandaharvester/commit_timestamp.py +++ b/pandaharvester/commit_timestamp.py @@ -1 +1 @@ -timestamp = "26-06-2024 13:30:57 on flin (by mightqxc)" +timestamp = "03-07-2024 15:02:03 on flin (by mightqxc)" diff --git a/pyproject.toml b/pyproject.toml index f27abd1a..d27f1fc1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ -# placed in a sub directory since the top directory is problematic for old setuptoos and legacy python +# placed in a sub directory since the top directory is problematic for old setuptools and legacy python [build-system] requires = ["hatchling"] @@ -7,7 +7,7 @@ build-backend = "hatchling.build" [project] name = "pandaharvester" dynamic = ["version"] -description = "Havester Package" +description = "Harvester Package" readme = "README.md" license = {text = "Apache-2.0"} authors = [ diff --git a/templates/systemd/panda_harvester-uwsgi.service.template b/templates/systemd/panda_harvester-uwsgi.service.template index 879d4bdb..07cb0177 100644 --- a/templates/systemd/panda_harvester-uwsgi.service.template +++ b/templates/systemd/panda_harvester-uwsgi.service.template @@ -3,6 +3,8 @@ Description=PanDA Harvester uWSGI After=network.target remote-fs.target nss-lookup.target [Service] +User=@@panda_user@@ +Group=@@panda_group@@ Type=exec RemainAfterExit=true EnvironmentFile=@@virtual_env@@/etc/sysconfig/panda_harvester_env From cd64e625a519641673a9e5c2e363f41bd01ca241 Mon Sep 17 00:00:00 2001 From: mightqxc Date: Wed, 3 Jul 2024 17:25:25 +0200 Subject: [PATCH 2/2] v0.5.8 --- pandaharvester/commit_timestamp.py | 2 +- pandaharvester/panda_pkg_info.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandaharvester/commit_timestamp.py b/pandaharvester/commit_timestamp.py index 715345dc..69b4cca2 100644 --- a/pandaharvester/commit_timestamp.py +++ b/pandaharvester/commit_timestamp.py @@ -1 +1 @@ -timestamp = "03-07-2024 15:02:03 on flin (by mightqxc)" +timestamp = "03-07-2024 15:25:26 on flin (by mightqxc)" diff --git a/pandaharvester/panda_pkg_info.py b/pandaharvester/panda_pkg_info.py index 19a2ca62..e0279173 100644 --- a/pandaharvester/panda_pkg_info.py +++ b/pandaharvester/panda_pkg_info.py @@ -1 +1 @@ -release_version = "0.5.7" +release_version = "0.5.8"