mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 04:58:26 +00:00
users/foodogsquared: create Gonic systemd service unit
This commit is contained in:
parent
55563fb146
commit
3a7008a510
@ -107,5 +107,16 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.gonic = {
|
||||
Unit = {
|
||||
After = [ "network.target" "sound.target" ];
|
||||
Description = "Gonic server";
|
||||
Documentation = [ "https://github.com/sentriz/gonic" ];
|
||||
};
|
||||
|
||||
Service.ExecStart = "${lib.getBin pkgs.gonic}/bin/gonic -config-path %E/gonic/gonic.conf -music-path %h/Music -cache-path %C/gonic -podcast-path %C/gonic/podcasts";
|
||||
Install.WantedBy = "default.target";
|
||||
};
|
||||
|
||||
home.stateVersion = "23.05";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user