Skip to content
Snippets Groups Projects
Select Git revision
  • b01eec252baf636baf4063aec67dc1336cd1921d
  • master default protected
  • jwt_encode_inconsistencies
  • recovery-code-pwhash
  • incremental-sync
  • redis-rate-limits
  • typehints
  • v1.2.x
  • v1.x.x
  • v1.1.x
  • feature_invite_validuntil_minmax
  • Dockerfile
  • v1.0.x
  • roles-recursive-cte
  • v2.3.1
  • v2.3.0
  • v2.2.0
  • v2.1.0
  • v2.0.1
  • v2.0.0
  • v1.2.0
  • v1.1.2
  • v1.1.1
  • v1.0.2
  • v1.1.0
  • v1.0.1
  • v1.0.0
  • v0.3.0
  • v0.2.0
  • v0.1.5
  • v0.1.4
  • v0.1.2
32 results

README.md

Blame
  • Forked from uffd / uffd
    Source project has a limited visibility.
    rocketchat-follower@.service 1.13 KiB
    [Unit]
    Description=RocketChat Server (follower, depending on main service)
    After=network.target
    Wants=network-online.target
    Wants=systemd-networkd-wait-online.service
    PartOf=rocketchat.service
    
    [Service]
    # Overwrite BIND_IP from config files with instance name. We cannot use
    # Environment for this, since EnvironmentFile takes precedence over it.
    ExecStart=env BIND_IP=%I /usr/bin/node /usr/share/rocketchat/bundle/main.js
    Restart=on-failure
    RestartSec=10
    ExecReload=/bin/kill -USR1 $MAINPID
    SyslogIdentifier=rocketchat
    
    Environment=NODE_ENV=production
    EnvironmentFile=/etc/rocketchat.conf
    EnvironmentFile=/etc/rocketchat-follower.conf
    
    DynamicUser=true
    PrivateUsers=true
    CapabilityBoundingSet=
    NoNewPrivileges=true
    RemoveIPC=true
    LockPersonality=true
    ProtectControlGroups=true
    ProtectKernelTunables=true
    ProtectKernelModules=true
    ProtectKernelLogs=true
    ProtectClock=true
    ProtectHostname=true
    ProtectProc=noaccess
    RestrictRealtime=true
    RestrictSUIDSGID=true
    RestrictNamespaces=true
    ProtectSystem=strict
    ProtectHome=true
    PrivateTmp=true
    PrivateDevices=true
    SystemCallArchitectures=native
    SystemCallFilter=@system-service
    
    [Install]
    WantedBy=rocketchat.service