Skip to content

Creating a robust init script to start/stop/manage fedora with fewer errors

Notifications You must be signed in to change notification settings

discoverygarden/Fedora-Init-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 

Repository files navigation

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 you

if you are always going to run it as root, remove the ** CHECK FOR ROOT STATUS ** block at the top
of the file.

About

Creating a robust init script to start/stop/manage fedora with fewer errors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages