https://github.com/discoverygarden/fedora-init-script
Creating a robust init script to start/stop/manage fedora with fewer errors
https://github.com/discoverygarden/fedora-init-script
provisioning
Last synced: 21 days ago
JSON representation
Creating a robust init script to start/stop/manage fedora with fewer errors
- Host: GitHub
- URL: https://github.com/discoverygarden/fedora-init-script
- Owner: discoverygarden
- Created: 2011-10-25T13:33:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-08-21T16:44:45.000Z (over 10 years ago)
- Last Synced: 2025-02-15T00:37:55.564Z (2 months ago)
- Topics: provisioning
- Language: Shell
- Homepage:
- Size: 178 KB
- Stars: 2
- Watchers: 31
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
An init script for launching fedora and checking its status.
Use it with:
fedora start # starts the server
fedora status # checks the status of the server (running, stopped, error)
fedora stop # terminates the server (if running)The script checks if the user trying to start it is root, in this case, permission errors can occur
on future startups, so we don't normally allow it. if you need to run it as root, you can supply
an additional "-r" option to the launch command to force it to allow youif you are always going to run it as root, remove the ** CHECK FOR ROOT STATUS ** block at the top
of the file.