blob: 389e3c84b65eebdab1188497a03758178095c69d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#{ ... }:
{
# Swing Music: self-hosted local music server. Built separately and placed
# in the user's home; this unit just turns it into a managed session service.
# systemd.user.services.swingmusic = {
# description = "Swing Music Local Server";
# wantedBy = [ "graphical-session.target" ];
# after = [ "graphical-session.target" ];
# serviceConfig = {
# ExecStart = "/home/seraphim/.swingmusic/swingmusic";
# Restart = "on-failure";
# WorkingDirectory = "/home/seraphim";
# NoNewPrivileges = true;
# PrivateTmp = true;
# ProtectSystem = "strict";
# ProtectHome = "false";
# RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
# };
# };
#}
|