diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-13 16:35:47 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-13 16:35:47 +0100 |
| commit | 9f2ebc2cce3af0e685677c23f2098c115e034adf (patch) | |
| tree | bc6609cf851ee3f0a4f572d762b4ea35a34610f6 /ansible/roles/etherpad/templates/openrc | |
| parent | f31e65c51681823ade14abad87c742101a1b823d (diff) | |
move ansible/ dir to root
Diffstat (limited to 'ansible/roles/etherpad/templates/openrc')
| -rw-r--r-- | ansible/roles/etherpad/templates/openrc/etherpad | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ansible/roles/etherpad/templates/openrc/etherpad b/ansible/roles/etherpad/templates/openrc/etherpad deleted file mode 100644 index f5f7260..0000000 --- a/ansible/roles/etherpad/templates/openrc/etherpad +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run - -description="Run etherpad document server" - -start() -{ - ebegin "Starting etherpad" - start-stop-daemon --start \ - --env NODE_ENV={{ etherpad_node_env }} \ - --exec /usr/bin/pnpx \ - --background \ - --chdir {{ src_dir }}/etherpad \ - --stdout /var/log/etherpad.log \ - --stderr /var/log/etherpad.log \ - --make-pidfile \ - --pidfile /run/etherpad.pid \ - -- tsx src/node/server.ts - eend $? -} - -stop() -{ - ebegin "Stopping etherpad" - start-stop-daemon --stop \ - --exec /usr/bin/pnpx \ - --pidfile /run/etherpad.pid - eend $? -} |
