diff options
author | Georg | 2021-07-21 12:47:30 +0200 |
---|---|---|
committer | Georg | 2021-07-21 12:47:30 +0200 |
commit | b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865 (patch) | |
tree | 6431154e8ea0e33e5f28d1302d20fdf9062f6a52 /systemd/etherpad.service | |
parent | a7b59a951b5b884bb2ba0fd1105918d2d5150fcd (diff) | |
download | system-b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865.tar.gz system-b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865.tar.bz2 system-b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865.zip |
Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'systemd/etherpad.service')
-rw-r--r-- | systemd/etherpad.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/etherpad.service b/systemd/etherpad.service new file mode 100644 index 0000000..5bc093e --- /dev/null +++ b/systemd/etherpad.service @@ -0,0 +1,16 @@ +[Unit] +Description=etherpad-lite +After=syslog.target network.target + +[Service] +Type=simple +User=etherpad +Group=etherpad +WorkingDirectory=/opt/etherpad +Environment=NODE_ENV=production +Environment=PATH=/opt/etherpad/.nvm/versions/node/v16.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin +ExecStart=/opt/etherpad/.nvm/versions/node/v16.4.0/bin/node /opt/etherpad/etherpad-lite/src/node/server.js +Restart=always + +[Install] +WantedBy=multi-user.target |