Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

va.sh - issue generating scripts #2278

Open
ra-at-diladele-com opened this issue Dec 6, 2024 · 0 comments
Open

va.sh - issue generating scripts #2278

ra-at-diladele-com opened this issue Dec 6, 2024 · 0 comments
Assignees
Milestone

Comments

@ra-at-diladele-com
Copy link
Contributor

  1. add the issue service to the installer - BUT leave it in the disabled state
  2. add the monitor.sh to the installer
  3. the issue generation must be done by truncate: in the systemd file like
[Unit]
Description=Updates /etc/issue file for Cloud SWG virtual appliance after network is up
Wants=network-online.target
After=network-online.target

[Service]
Type=oneshot
ExecStart=/opt/cloud-swg-node/bin/issue.sh
StandardOutput=truncate:/etc/issue
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

@ra-at-diladele-com ra-at-diladele-com added this to the 9.4 Next milestone Dec 6, 2024
@ra-at-diladele-com ra-at-diladele-com self-assigned this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant