mirror of
https://github.com/openoms/joininbox.git
synced 2026-08-15 12:50:37 +02:00
19 lines
428 B
SYSTEMD
19 lines
428 B
SYSTEMD
|
|
# boostrap.service
|
||
|
|
# based on https://github.com/rootzoll/raspiblitz/blob/v1.6/home.admin/assets/bootstrap.service
|
||
|
|
# /etc/systemd/system/bootstrap.service
|
||
|
|
|
||
|
|
[Unit]
|
||
|
|
Description=Execute on every startup before everything else
|
||
|
|
After=network.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
User=root
|
||
|
|
Group=root
|
||
|
|
Type=oneshot
|
||
|
|
RemainAfterExit=true
|
||
|
|
ExecStart=/home/admin/_bootstrap.sh
|
||
|
|
StandardOutput=journal
|
||
|
|
StandardError=journal
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|