Skip to content

An automated way of creating services/demons for Ubuntu 16.04

License

Notifications You must be signed in to change notification settings

x13machine/ubuntu-demon-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Ubuntu Demon Creator

An automated way of creating services/demons for ubuntu 16.04.

I made this script for other automated bash scripts and to fix some bugs in this https://gist.github.com/naholyr/4275302.

Example

curl https://raw.githubusercontent.com/x13machine/ubuntu-demon-creator/master/create-demon.sh | sudo name="web" username="web" command="/home/web/start.sh" bash

Logs

/var/log/<name>.log

Removal

service uninstall <name>

Parameters

  • name: Name of the demon.
  • username: The user the demon will run as.
  • command: The command to run the demon.
  • description (optional): The description of the demon.

About

An automated way of creating services/demons for Ubuntu 16.04

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages