Metadata-Version: 2.4
Name: systemd-one-line
Version: 0.3.1
Summary: Create systemd services and timers in one command
License: MIT
Keywords: systemd,service,timer,cron
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# systemd-one-line
Create systemd jobs in one-line.

## Motivation
I can't be bothred to edit files. I don't like an LLM routing around in my system files editing stuff.
This lets you create things in one line.

## Atlernatives and prior work
Just edit the file
systemd can do something similar, but the files are not persisted.

## Installation
`pipx install systemd-one-line`

## Usage
Create a new service
`systemd-one-line service --exec blah --timer --every 1h`

`systemd-one-line service --edit --exec blah --timer --every 1h`

Crete a user daeomon which starts when you log in:

```
systemd-one-line service \
  --user --autostart \
  --name bgmus \
  --type simple \
  --exec "$HOME/.local/bin/bgmus" \
  --edit
```

