blob: 276e852dbbe5113e3b8c5dcf7c701c4e0fb55855 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=A simple, high performance messaging system for cloud native appliations, IoT messaging, and webservices architectures
Documentation=https://docs.nats.io
After=network.target
[Service]
Type=simple
PIDFile=/run/nats-server.pid
ExecStart=/usr/bin/nats-server --pid /run/nats-server.pid --syslog --http_port 8222
ExecStop=/usr/bin/nats-server --signal quit=/run/nats-server.pid
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
RuntimeDirectory=nats-server
RuntimeDirectoryMode=755
[Install]
WantedBy=multi-user.target
|