Skip to content

Add an example systemd unit #22

@dstrelnikov

Description

@dstrelnikov

I think it might be a good idea to add an example systemd unit to the repo. Here is what works for me.

[Unit]
Description=Car Connectivity
After=network-online.target

[Service]
Type=simple
Restart=always
Environment=PYTHONUNBUFFERED=1
WorkingDirectory=/home/me/.local/venvs/carconnectivity/
ExecStart=/home/me/.local/venvs/carconnectivity/bin/carconnectivity-cli config.json events

[Install]
WantedBy=multi-user.target

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions