Add systemd service file and deployment instructions
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
860381b3e9
commit
5391827519
2 files changed
+40
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=AudioPen Nextcloud Webhook
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/audiopen-nextcloud
|
||||
ExecStart=/usr/bin/node server.js
|
||||
EnvironmentFile=/opt/audiopen-nextcloud/.env
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user