This unit is provided by:
Options
-
[Install]
-
WantedBy=rmt-server.target
-
-
[Service]
-
Environment="LOG_TO_JOURNALD=1" "LANG=en"
-
ExecStart=/usr/share/rmt/bin/rails db:create db:migrate RAILS_ENV=production
-
PrivateDevices
Introduced in systemd 209=yes -
ProtectClock
Introduced in systemd 245=yes -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
RestrictRealtime
Introduced in systemd 231=yes -
Type=oneshot
-
User=_rmt
-
WorkingDirectory=/usr/share/rmt
-
-
[Unit]
-
After=mysql.service
-
Before=rmt-server.service
-
Description=RMT database setup
-
Requires=mysql.service
-
Additionnal notes
Nothing here.