diff options
| author | Gab <24553253+gabrix73@users.noreply.github.com> | 2026-08-14 20:39:22 +0200 |
|---|---|---|
| committer | Gab <24553253+gabrix73@users.noreply.github.com> | 2026-08-14 20:39:22 +0200 |
| commit | 43fbddf016f94f4ba006d82c9a67dca61b5852a1 (patch) | |
| tree | 70054d5fa8a34bb094b8c3ef8ddc9c1fcea3b3d5 /deploy/yamn-nym-sender.service | |
| parent | 994071243fc80990cf09e820b671006e9bd31c76 (diff) | |
| download | yamnweb-43fbddf016f94f4ba006d82c9a67dca61b5852a1.tar.gz yamnweb-43fbddf016f94f4ba006d82c9a67dca61b5852a1.tar.xz yamnweb-43fbddf016f94f4ba006d82c9a67dca61b5852a1.zip | |
Complete Nym and YAMN transport integration
Diffstat (limited to 'deploy/yamn-nym-sender.service')
| -rw-r--r-- | deploy/yamn-nym-sender.service | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/deploy/yamn-nym-sender.service b/deploy/yamn-nym-sender.service new file mode 100644 index 0000000..bd7120e --- /dev/null +++ b/deploy/yamn-nym-sender.service @@ -0,0 +1,35 @@ +[Unit] +Description=YAMN persistent Nym sender +Documentation=https://docs.rs/nym-sdk/latest/nym_sdk/ +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=www-data +Group=www-data +EnvironmentFile=/etc/yamnweb/yamnweb.env +ExecStart=/usr/local/bin/yamn-nym-submit --daemon +Restart=on-failure +RestartSec=10s +TimeoutStopSec=250s +RuntimeDirectory=yamnweb +RuntimeDirectoryMode=0700 +UMask=0077 +NoNewPrivileges=true +PrivateTmp=true +PrivateDevices=true +ProtectHome=true +ProtectSystem=strict +ReadWritePaths=/var/lib/yamnweb/nym-client /run/yamnweb +RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX +RestrictSUIDSGID=true +LockPersonality=true +MemoryDenyWriteExecute=true +CapabilityBoundingSet= +AmbientCapabilities= +StandardOutput=null +StandardError=journal + +[Install] +WantedBy=multi-user.target |
