[PR #62] [CLOSED] Systemd update #91

Closed
opened 2026-03-03 11:14:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debloper/xiosk/pull/62
Author: @SpiraMirabilis
Created: 12/19/2024
Status: Closed

Base: mainHead: main


📝 Commits (4)

  • 2bb03d1 Added systemd service templates, re-wrote setup.sh and cleanup.sh
  • 7abb530 Rewrote 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 script
  • 1888ca9 Fixed a bug in setup.sh, piosk-webserver.service wasn't getting enabled properly
  • bcf968f adjusted 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.

## 📋 Pull Request Information **Original PR:** https://github.com/debloper/xiosk/pull/62 **Author:** [@SpiraMirabilis](https://github.com/SpiraMirabilis) **Created:** 12/19/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`2bb03d1`](https://github.com/debloper/xiosk/commit/2bb03d1ad562c16d5ea629a890e313fec672749f) Added systemd service templates, re-wrote setup.sh and cleanup.sh - [`7abb530`](https://github.com/debloper/xiosk/commit/7abb53092597538bfc48899812a06b103a8b9cbb) Rewrote 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 script - [`1888ca9`](https://github.com/debloper/xiosk/commit/1888ca968efa9fe12d70958b12cca1b008ecf870) Fixed a bug in setup.sh, piosk-webserver.service wasn't getting enabled properly - [`bcf968f`](https://github.com/debloper/xiosk/commit/bcf968ffd6398ca469f9f29c6556dc9b980a0de0) adjusted directory structure for standard named directory instead of ### 📊 Changes **7 files changed** (+235 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:14:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xiosk#91
No description provided.