Disable user lingering & use system systemd services

This commit is contained in:
sonny 2025-01-25 12:52:13 +01:00
parent d8c4f71c62
commit 42e0ee3182
11 changed files with 117 additions and 19 deletions

4
templates/systemd/mpd.j2 Normal file
View file

@ -0,0 +1,4 @@
# {{ ansible_managed }}
[Service]
User=sonny

View file

@ -0,0 +1,4 @@
# {{ ansible_managed }}
[Service]
User=sonny

View file

@ -6,8 +6,8 @@
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "{{ lan_ip_address }}",
"bind-address-ipv6": "::",
"bind-address-ipv4": "",
"bind-address-ipv6": "",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,