aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-gc.service.in
blob: 2f1ca6584bbcef9e53d211023d397704285d8269 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This is a "service unit file" for the systemd init system to perform a
# one-shot 'guix gc' operation.  It is meant to be triggered by a timer.
# Drop it in /etc/systemd/system or similar together with 'guix-gc.timer'
# to set it up.

[Unit]
Description=Discard unused Guix store items

[Service]
Type=oneshot
# Customize the 'guix gc' arguments to fit your needs.
ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix gc -d 1m -F 10G
PrivateDevices=yes
PrivateNetwork=yes
PrivateUsers=no
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
MemoryDenyWriteExecute=yes
SystemCallFilter=@default @file-system @basic-io @system-service
avail'>...Alex Kost 2015-06-07Thank Thomas.Ludovic Courtès 2015-05-01Thank Joshua.Ludovic Courtès 2015-04-14Thank Pjotr.Ludovic Courtès 2015-02-24Thank Daniel.Ludovic Courtès 2015-02-07Thank Andrei.Ludovic Courtès 2015-01-28Thank Amirouche.Ludovic Courtès 2014-12-09Thank rekado.Ludovic Courtès 2014-11-28Add (guix elf)....Ludovic Courtès 2014-11-17Thank Bruno.Ludovic Courtès 2014-11-13doc: Improve acknowledgments....Ludovic Courtès 2014-11-11Thank Sylvain.Ludovic Courtès 2014-11-10Thank Philip Woods.Ludovic Courtès 2014-11-08Thank Felipe.Ludovic Courtès 2014-08-31Thank Frederico.Ludovic Courtès 2014-08-23Thank Brandon.Ludovic Courtès 2014-08-15Update AUTHORS and THANKS.Ludovic Courtès 2014-07-22Thank Adam.Ludovic Courtès 2014-07-18Thank Marek.Ludovic Courtès 2014-07-16Update 'THANKS'....John Darrington 2014-07-05Thank Taylan and Alex.Ludovic Courtès 2014-06-17Thank Benno.Ludovic Courtès 2014-06-09Thank Carlos.Ludovic Courtès 2014-01-03Thank Niels.Ludovic Courtès 2013-12-30Thank Kete.Ludovic Courtès