Commit 41ee317d authored by nono's avatar nono 💻
Browse files

Fix service file for execution

parent 910be67c
...@@ -14,7 +14,7 @@ Type=exec ...@@ -14,7 +14,7 @@ Type=exec
Environment=NODE_ENV=production Environment=NODE_ENV=production
Restart=always Restart=always
RestartSec=2s RestartSec=2s
ExecStart=/usr/bin/yarn start --production ExecStart=npm start --production
CapabilityBoundingSet= CapabilityBoundingSet=
NoNewPrivileges=true NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
...@@ -39,7 +39,7 @@ SystemCallFilter=@system-service ...@@ -39,7 +39,7 @@ SystemCallFilter=@system-service
# You may have to adjust these settings # You may have to adjust these settings
User=hedgedocs User=hedgedocs
Group=hedgedocs Group=wwww-data
WorkingDirectory=/home/hedgedocs/hedgedoc WorkingDirectory=/home/hedgedocs/hedgedoc
# Example: local storage for uploads and SQLite # Example: local storage for uploads and SQLite
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment