An open API service indexing awesome lists of open source software.

https://github.com/sebbekarlsson/systemctl

➰ Lightweight systemctl clone
https://github.com/sebbekarlsson/systemctl

macos python services systemd

Last synced: about 2 months ago
JSON representation

➰ Lightweight systemctl clone

Awesome Lists containing this project

README

          

# systemctl
> The missing service file manager for `Macos` / `Mac` / `OSX` or any other \*NIX system
> that doesn't come with [systemd](https://en.wikipedia.org/wiki/Systemd).
> _Behind the curtains, it is using [screen](https://www.gnu.org/software/screen/manual/screen.html)_



## Usage
> The usage is basically the same as with the original systemctl command:

systemctl

> Available commands:
* start
* status
* stop

> If not a full path to the service file was given, it will look for it in
`/etc/systemd/system`

> The directory `/etc/systemd/system` does not exist by default in MacOS.
> To create it, execute:

sudo mkdir -p /etc/systemd/system

> Now you can place `.service` files there.

## Installation
### Dependencies:
* [screen](https://www.gnu.org/software/screen/manual/screen.html)

> How to install:

python setup.py install

> You're all set!