plex module: restart on failure
This commit is contained in:
parent
bd386538a4
commit
db9640b032
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user