3
0
Fork 0
forked from mirrors/nixpkgs

plex module: restart on failure

This commit is contained in:
Cole Mickens 2016-04-08 10:55:00 -07:00
parent bd386538a4
commit db9640b032

View file

@ -128,6 +128,7 @@ in
Group = cfg.group;
PermissionsStartOnly = "true";
ExecStart = "/bin/sh -c '${cfg.package}/usr/lib/plexmediaserver/Plex\\ Media\\ Server'";
Restart = "on-failure";
};
environment = {
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=cfg.dataDir;