Wiki.js: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
iwu
 
mNo edit summary
 
Line 12: Line 12:
User=www-data
User=www-data
Environment=NODE_ENV=production
Environment=NODE_ENV=production
WorkingDirectory=/srv/www/kendo.info/wiki
WorkingDirectory=/srv/www/nebari/wiki


[Install]
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 21:09, 11 October 2024

/etc/systemd/system/wikijs.service

[Unit]
Description=Wiki.js
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/node server
Restart=always
User=www-data
Environment=NODE_ENV=production
WorkingDirectory=/srv/www/nebari/wiki

[Install]
WantedBy=multi-user.target