File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[Unit]
22Description =Podcst feed poller daemon
3- After =network.target network-online.target postgresql.service
4- Requires =network-online.target
3+ After =network.target postgresql.service
54
65[Service]
7- Type =simple
8- EnvironmentFile =/home/shantanu/src/shantanuraj/podcst-web/.env.local
9- ExecStart =/home/shantanu/.bun/bin/bun run /home/shantanu/src/shantanuraj/podcst-web/scripts/poll-feeds.ts --daemon
6+ User =svc-podcst
7+ Group =svc-podcst
8+ Environment =HOME =/var/lib/podcst
9+ Environment =DATABASE_URL =postgres://podcst_app@localhost/podcst
10+ Environment =PGHOST =/var/run/postgresql
1011WorkingDirectory =/home/shantanu/src/shantanuraj/podcst-web
11- Restart =always
12- RestartSec =10
13- User =shantanu
14- Group =shantanu
15- StandardOutput =journal
16- StandardError =journal
17- SyslogIdentifier =podcst-poller
18-
12+ ExecStart =/usr/local/bin/bun run scripts/poll-feeds.ts --daemon
13+ Restart =on-failure
14+ RestartSec =5
15+ NoNewPrivileges =true
16+ ProtectSystem =strict
17+ ProtectHome =tmpfs
18+ BindReadOnlyPaths =/home/shantanu/src/shantanuraj/podcst-web
19+ ReadWritePaths =/var/lib/podcst
20+ PrivateTmp =true
21+ PrivateDevices =true
22+ ProtectKernelTunables =true
23+ ProtectControlGroups =true
24+ RestrictSUIDSGID =true
25+ LockPersonality =true
26+ CapabilityBoundingSet =
1927[Install]
2028WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments