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
- Host: GitHub
- URL: https://github.com/sebbekarlsson/systemctl
- Owner: sebbekarlsson
- Created: 2017-11-13T17:14:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T11:54:41.000Z (over 8 years ago)
- Last Synced: 2025-03-25T20:43:04.470Z (over 1 year ago)
- Topics: macos, python, services, systemd
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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!