Commit graph

6 commits

Author SHA1 Message Date
ohdearaugustin
5da2ce698f Fix idempotency create file 2022-04-05 23:01:09 +02:00
Pig Monkey
d9cd95e9fa use default firejail mpd profile
requires >= 0.9.52
2017-12-26 16:39:41 -08:00
Pig Monkey
938e8d27ff provide mpd user service
The Arch package used to provide this. Now it doesn't.

To use this, you'd just enable and start it as your user.

    $ systemctl --user enable mpd.service
    $ systemctl --user start mpd.service

Existing users can remove the override we used to install, since that is
now redundant.

    # rm -r /etc/systemd/user/mpd.service.d
2016-12-11 21:48:52 -08:00
Pig Monkey
5187c982aa automatically include firejail profiles 2016-04-02 10:28:48 -07:00
Pig Monkey
f5e6e6b373 jail ncmpcpp 2016-03-31 20:28:07 -07:00
Pig Monkey
b6bcff0265 jail mpd
Ansible doesn't seem to have a way to interact with systemd user
instances. All the prep is done, but the user still needs to manually
enable and start the mpd user service.

    $ systemd --user enable mpd.service
    $ systemd --user start mpd.service

Alternatively, the user could include mpd in their shell profile,
xinitrc, or just call it whenever they want it to run. We jail mpd in
/usr/local/bin, just like everything else.

    $ mpd
2016-03-31 20:17:39 -07:00