Skip to content
Snippets Groups Projects
Commit d4e421d3 authored by Kevin Morris's avatar Kevin Morris Committed by Kristian Klausen
Browse files

change: run systemd services with poetry


Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent 4034c581
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ After=mysqld.service
[Service]
Type=oneshot
User={{ aurweb_user }}
ExecStart=/usr/local/bin/aurweb-aurblup
WorkingDirectory={{ aurweb_dir }}
ExecStart=/usr/bin/poetry run aurweb-aurblup
ReadWritePaths={{ aurweb_dir }}
NoNewPrivileges=true
......
......@@ -6,7 +6,8 @@ After=mysqld.service
[Service]
Type=oneshot
User={{ aurweb_user }}
ExecStart=/usr/local/bin/aurweb-mkpkglists --extended
WorkingDirectory={{ aurweb_dir }}
ExecStart=/usr/bin/poetry run aurweb-mkpkglists --extended
NoNewPrivileges=true
LockPersonality=true
......
......@@ -6,7 +6,8 @@ After=mysqld.service
[Service]
Type=oneshot
User={{ aurweb_user }}
ExecStart=/usr/local/bin/aurweb-pkgmaint
WorkingDirectory={{ aurweb_dir }}
ExecStart=/usr/bin/poetry run aurweb-pkgmaint
NoNewPrivileges=true
LockPersonality=true
......
......@@ -6,7 +6,8 @@ After=mysqld.service
[Service]
Type=oneshot
User={{ aurweb_user }}
ExecStart=/usr/local/bin/aurweb-popupdate
WorkingDirectory={{ aurweb_dir }}
ExecStart=/usr/bin/poetry run aurweb-popupdate
NoNewPrivileges=true
LockPersonality=true
......
......@@ -6,7 +6,8 @@ After=mysqld.service
[Service]
Type=oneshot
User={{ aurweb_user }}
ExecStart=/usr/local/bin/aurweb-tuvotereminder
WorkingDirectory={{ aurweb_dir }}
ExecStart=/usr/bin/poetry run aurweb-tuvotereminder
NoNewPrivileges=true
LockPersonality=true
......
......@@ -6,7 +6,8 @@ After=mysqld.service
[Service]
Type=oneshot
User={{ aurweb_user }}
ExecStart=/usr/local/bin/aurweb-usermaint
WorkingDirectory={{ aurweb_dir }}
ExecStart=/usr/bin/poetry run aurweb-usermaint
NoNewPrivileges=true
LockPersonality=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment