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]
|
||||
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
|
||||
|
||||
EnvironmentFile=/etc/nightscout/nightscout-environ
|
||||
|
||||
ReadOnlyPaths=/usr/lib/node_modules/nightscout
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
PrivateTmp=yes
|
||||
|
@ -33,7 +35,7 @@ RestrictSUIDSGID=yes
|
|||
NoNewPrivileges=yes
|
||||
LockPersonality=yes
|
||||
|
||||
MemoryDenyWriteExecute=yes
|
||||
#MemoryDenyWriteExecute=yes
|
||||
|
||||
CapabilityBoundingSet=
|
||||
SystemCallArchitectures=native
|
||||
|
|
Loading…
Reference in a new issue