this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: Add systemd unit file examples

+46
+1
contrib/README
··· 1 + These are sample unit files to run the tumble application via Flox.
+21
contrib/tumble-db.service
··· 1 + [Unit] 2 + Description=Tumble MySQL (via Flox) 3 + After=network.target 4 + 5 + [Service] 6 + Type=simple 7 + User=tumble 8 + Group=tumble 9 + WorkingDirectory=/srv/tumble/mysql 10 + ExecStart=/usr/bin/flox activate --start-services -- sleep infinity 11 + ExecStop=/usr/bin/flox services stop 12 + Restart=on-failure 13 + RestartSec=5 14 + 15 + Environment=HOME=/srv/tumble 16 + 17 + PrivateTmp=true 18 + NoNewPrivileges=true 19 + 20 + [Install] 21 + WantedBy=multi-user.target
+24
contrib/tumble.service
··· 1 + [Unit] 2 + Description=Tumble Web Application 3 + After=network.target tumble-db.service 4 + Wants=tumble-db.service 5 + 6 + [Service] 7 + Type=simple 8 + User=tumble 9 + Group=tumble 10 + WorkingDirectory=/srv/tumble/bin 11 + ExecStart=/srv/tumble/bin/tumble /srv/tumble/conf/config.yml 12 + Restart=on-failure 13 + RestartSec=5 14 + 15 + Environment=HOME=/srv/tumble 16 + 17 + # Security hardening 18 + ProtectSystem=strict 19 + ReadWritePaths=/srv/tumble/logs 20 + PrivateTmp=true 21 + NoNewPrivileges=true 22 + 23 + [Install] 24 + WantedBy=multi-user.target