Created
August 5, 2025 06:33
-
-
Save maxheadroom/787c84733ab9fc023921c7bee0216a6f to your computer and use it in GitHub Desktop.
FediFetcher systemD Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=FediFetcher Script | |
| After=network-online.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/bash /home/user/FediFetcher/FediFetcher.sh | |
| WorkingDirectory=/home/user/FediFetcher | |
| User=username | |
| Group=username | |
| StandardOutput=journal | |
| StandardError=journal | |
| TimeoutStartSec=2700 | |
| TimeoutStopSec=60 | |
| KillMode=control-group | |
| RemainAfterExit=no | |
| SyslogIdentifier=fedifetcher | |
| ProtectSystem=yes | |
| # ProtectHome=true | |
| PrivateTmp=true | |
| NoNewPrivileges=true | |
| ReadWritePaths=/home/user/FediFetcher | |
| RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Goes into /etc/systemd/system/fedifetcher.service