mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
parent
319ae6c2bf
commit
c91b1b97a9
16
etc/systemd/system/etherpad-lite.service
Normal file
16
etc/systemd/system/etherpad-lite.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Etherpad lite
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# From README, add `-s path-to-settings`
|
||||||
|
ExecStart=/home/mikaela/src/github.com/ether/etherpad-lite/bin/run.sh
|
||||||
|
# I am not sure how much Etherpad cares about working dir, but just in case
|
||||||
|
WorkingDirectory=/home/mikaela/src/github.com/ether/etherpad-lite
|
||||||
|
# bin/run.sh told me to do this
|
||||||
|
Environment="NODE_ENV=production"
|
||||||
|
Restart=always
|
||||||
|
User=CHANGEME
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in New Issue
Block a user