mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-30 07:09:33 +01:00
17 lines
448 B
SYSTEMD
17 lines
448 B
SYSTEMD
|
[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
|