paulbsd-salt/states/ipfs/ipfs.service.j2
Paul Lecuq 1b59cdacdd * Update salt states
- bl module updated
- borg state updated
- config state updated
- netbox state updated
- nginx state updated
- misc updates
2022-02-21 13:52:46 +01:00

21 lines
426 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=ipfs p2p daemon
After=network.target
Requires=network.target
[Service]
Type=simple
User=ipfs
RestartSec=1
Restart=always
PermissionsStartOnly=true
Nice=18
LimitNOFILE=8192
Environment=IPFS_FD_MAX=8192
EnvironmentFile=-/etc/sysconfig/ipfs
StandardOutput=journal
ExecStart=/usr/local/sbin/ipfs daemon
[Install]
WantedBy=multi-user.target