Initial public commit
This commit is contained in:
9
scripts/systemd/hotpocket.service
Normal file
9
scripts/systemd/hotpocket.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Matrix Homeserver Policy Manager
|
||||
Wants=hotpocket.timer
|
||||
|
||||
[Service]
|
||||
User=hotpocket
|
||||
Type=simple
|
||||
Environment="HOTPOCKET_CONFIG_DIR=/etc/hotpocket"
|
||||
ExecStart=./etc/hotpocket.sh
|
9
scripts/systemd/hotpocket.timer
Normal file
9
scripts/systemd/hotpocket.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Hotpocket Timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=30s
|
||||
OnCalendar=*:0/10
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user