mirror of
https://github.com/debloper/xiosk.git
synced 2026-04-27 05:45:54 +03:00
[PR #62] [CLOSED] Systemd update #91
Labels
No labels
bug
bug
documentation
enhancement
enhancement
feature request
good first issue
good first issue
help wanted
invalid
priority: high
priority: low
priority: medium
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xiosk#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debloper/xiosk/pull/62
Author: @SpiraMirabilis
Created: 12/19/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (4)
2bb03d1Added systemd service templates, re-wrote setup.sh and cleanup.sh7abb530Rewrote scripts/setup.sh and scripts/cleanup.sh. Piosk now installs and runs in /opt/piosk. Setup.sh installs and enables a systemd service for each script1888ca9Fixed a bug in setup.sh, piosk-webserver.service wasn't getting enabled properlybcf968fadjusted directory structure for standard named directory instead of📊 Changes
7 files changed (+235 additions, -72 deletions)
View changed files
📝
scripts/browser.sh(+1 -0)📝
scripts/cleanup.sh(+50 -27)📝
scripts/setup.sh(+136 -44)📝
scripts/switcher.sh(+2 -1)➕
services/piosk-browser.service(+16 -0)➕
services/piosk-switcher.service(+17 -0)➕
services/piosk-webserver.service(+13 -0)📄 Description
This PR updates the piosk to use systemd services to manage the three scripts the piosk uses to function. This involved completely re-writing the setup.sh and cleanup.sh, as a result the new setup.sh installs a copy of the package in /opt/piosk and configures all the scripts to run from there.
One change is the way this setup.sh works now means you shouldn't curl it to run it, you should always git clone and then execute the setup.sh inside of the cloned repository. You can change that if you want but I didn't feel like bothering.
Sorry about changing the swithcer.sh sleep to 30, I did this for testing because I thought it was annoying to switch so quickly and didn't notice. Feel free to adjust that back.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.