Fix foreign key issue. Add systemctl param.

This commit is contained in:
Jared Goodwin 2019-12-12 14:49:41 -08:00
parent ab83c3f1b5
commit 567c3e1cc5
2 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,7 @@ namespace Remotely.Server.Services
SenderConnectionID = Context.ConnectionId,
SenderUserID = Context.UserIdentifier,
TargetDeviceIDs = connections.Select(x => x.Value.ID).ToArray(),
OrganizationID = RemotelyUser.Organization.ID
OrganizationID = RemotelyUser.OrganizationID
};
DataService.AddOrUpdateCommandContext(commandContext);
await Clients.Caller.SendAsync("CommandContextCreated", commandContext);

View File

@ -53,6 +53,7 @@ Description=The Remotely agent used for remote access.
WorkingDirectory=/usr/local/bin/Remotely/
ExecStart=/usr/local/bin/Remotely/Remotely_Agent
Restart=always
StartLimitIntervalSec=0
RestartSec=10"
[Install]