Update unit file
This commit is contained in:
parent
66beaf4268
commit
7a37d55a95
1 changed files with 4 additions and 2 deletions
|
@ -3,11 +3,13 @@ Description=Nightscout CGM.
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/usr/lib/node_modules/nightscout
|
WorkingDirectory=/usr/lib/node_modules/nightscout
|
||||||
ExecStart=/usr/bin/node /usr/lib/node_modules/nightscout/server.js
|
ExecStart=/usr/bin/node server.js
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
|
|
||||||
EnvironmentFile=/etc/nightscout/nightscout-environ
|
EnvironmentFile=/etc/nightscout/nightscout-environ
|
||||||
|
|
||||||
|
ReadOnlyPaths=/usr/lib/node_modules/nightscout
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
|
@ -33,7 +35,7 @@ RestrictSUIDSGID=yes
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
LockPersonality=yes
|
LockPersonality=yes
|
||||||
|
|
||||||
MemoryDenyWriteExecute=yes
|
#MemoryDenyWriteExecute=yes
|
||||||
|
|
||||||
CapabilityBoundingSet=
|
CapabilityBoundingSet=
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
|
|
Loading…
Reference in a new issue