diff --git a/build/dwelling-radio.conf b/build/dwelling-radio.conf deleted file mode 100644 index 2573f04..0000000 --- a/build/dwelling-radio.conf +++ /dev/null @@ -1,4 +0,0 @@ -# sysusers.d -g dwradio - - -u dwradio - - -m dwradio dwradio \ No newline at end of file diff --git a/init/systemd/dwelling-radio.service b/init/systemd/dwelling-radio.service index 009b7de..857424e 100755 --- a/init/systemd/dwelling-radio.service +++ b/init/systemd/dwelling-radio.service @@ -5,8 +5,7 @@ After=network-online.target [Service] Type=simple Restart=on-failure -User=dwradio -Group=dwradio +DynamicUser=yes ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml ReadOnlyPaths=/