Skip to content

Running blissify as a systemd unit file #80

@mtmn

Description

@mtmn

Add an example systemd unit file for running blissify update and restart the process does any error occur.

I already have this in place

[Unit]
Description=Blissify Update Service
After=network.target

[Service]
Environment=MPD_HOST=127.0.0.1
Environment=MPD_PORT=6600
Type=simple
ExecStart=%h/bin/blissify update
WorkingDirectory=%h

Restart=on-failure
RestartSec=10s
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=default.target

it was created on a whim and can be probably made as oneshot.

Is this something you would be interested in having as part of this repository? If that's the case, I can create a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions